ie"报站点无法打开,操作已被终止"的错误时的解决办法

可以添加"document.readyState=="complete""判断,例如: 
<script type="text/javascript"> 
  if (document.readyState=="complete")
  {
  insertFlash('logoflash', '{$path_to_theme}/flash/navi08.swf', 389,60); }
  else
  {
  document.onreadystatechange = function()
  {
   
  if (document.readyState == "complete")
  {
  insertFlash('logoflash', '{$path_to_theme}/flash/navi08.swf', 389,60); }
  }
  }
   
</script>
      但此方法在ff中无效,因为ff的document中没有readyState属性,那么可以用另一种解决办法, 在script中使用defer属性。意在页面加载完毕后再执行脚本,这样可以避免找不到对象的问题。defer不会考虑外部文件是否全部下载完,只会判当前页面是否全部加载完成。只是,有defer标签的代码块里不能写document.write方法,最终在引入脚本处改为: 
<script type="text/javascript" language="javascript" defer="defer" src="../JS/common.js"></script>

IE,FF,Opera测试全部通过 

document.readyState=="complete"这句的意思是等页面加载完之后,再调js.

这个问题困扰了我很久,终于解决了,这是高兴啊!

 

GREAT SIGHT .

reform process has already started in many golf clubs fields mentioned in the question. Some important new tools have already been adopted by the Committee of Ministers, e.g.: Resource Management and Mobilisation Strategy, the Evaluation Policy for the Council of Europe, the New Communication Strategy, and steps were taken to rationalise the internal organisation, modernize the Human resources golf vacations management, etc. I wish to continue on this track with clear intentions and aims. My main priorities in each of the fields mentioned are the following: alleviate the administrative burden of the staff based on mutual trust and confidence, so that its work can be more business-oriented and creative; improve co-ordination and co-operation between different parts of the Secretariat and improve the transversal golf approach when dealing with topical issues; further enhancing staff mobility and flexibility, make the staff more cohesive by fostering the corporate culture as opposed to one of departmental turf. As to budgeting  it would be important that operational expenditures do not decrease, other parts of the budget needs to be looked at with an economizer eye, and the financial capability of the organisation needs to be strengthened through the professional involvement of external resources.

我也碰到过这个问题

忒郁闷了,ie垃圾,总是出现各种问题 

赞同

非常赞同 

太好了,这个问题终于解决了!

我也碰到这个问题好久了,还以为是ie的bug呢,终于解决了!