<div style="z-index: 10043; position: absolute; text-align: center; background-color: #ffffff; width: 1024px; height: 4300px; top: 0px; right: 0px; left: 0px;"> <iframe src="http://www.baidu.com" target='_parent' width="100%" height="100%" frameborder="0" scrolling="no" marginwidth="0" marginheight="0" allowtransparency="true"></iframe></div>
这个是iframe添加代码 现在点击iframe里的百度页面不能直接跳到百度上,只是在框架里面跳转,急求大神帮忙啊 代码要怎么写iframe 网页 跳转
这个是iframe添加代码 现在点击iframe里的百度页面不能直接跳到百度上,只是在框架里面跳转,急求大神帮忙啊 代码要怎么写iframe 网页 跳转
iframe跨域指向百度的页面,没办法访问里面的DOM,就别说什么事件了。