zoukankan      html  css  js  c++  java
  • IE6下iframe里打开页面出现无法打开internet站点错误

    使用IE6打开地址总是提示:Internet Explorer 无法打开 Internet 站点xxxxxxx。(用IE7打开没有此类问题,貌似应该为IE6的一个bug)

    在网上search一下,看到一篇文章如是说:是js引发的错误,由于页面中用到了下拉条,而且,微软把 select 的属性值设得太高了,层是没办法把他遮挡住的。只能用错就错在 <iframe 这里了,页面还没完成,就跑 <iframe ,<iframe 还没引发完成就跳转,导致游览器中断,所以就出现了 “internet explore 无法打开internet站点...,已终止操作。

    仔细对照了一下自己的页面,在我的页面中引用了一个日历脚本,放在了<head></head>里面<script type="text/javascript" src="<%=path %>/js/WdatePicker.js"></script>。在脚本当中有iframe和select,判断应该是此脚本引起的IE6出错。

    把这段脚本的引用位置修改到</html>后面,IE6不再提示错误。

  • 相关阅读:
    .net注册iis
    hdu 1081To The Max
    hdu 1312Red and Black
    hdu 1016Prime Ring Problem
    hdu 1159Common Subsequence
    hdu 1372Knight Moves
    hdu 1686Oulipo
    hdu 1241Oil Deposits
    hdu 1171Big Event in HDU
    hdu 4006The kth great number
  • 原文地址:https://www.cnblogs.com/chenlh/p/3653800.html
Copyright © 2011-2022 走看看