【问题标题】:Dojo script (fx.xd.js) not working IEDojo 脚本 (fx.xd.js) 不工作 IE
【发布时间】:2010-04-13 10:19:54
【问题描述】:

过去几天我一直在自学道场。

但是,如果您查看以下页面:

http://www.mechanic-one.suburban-glory.com/

你会看到标题中的简单脚本在 IE 中不起作用

我收到以下消息:

消息:“持续时间”为空或不是对象 线路:8 字符:622 代码:0 网址:http://ajax.googleapis.com/ajax/libs/dojo/1.3.2/dojo/fx.xd.js

为什么会这样?

【问题讨论】:

    标签: dojo


    【解决方案1】:

    您的源代码中有一个额外的逗号。它在 Firefox 中有效,但在 IE 中无效。

    下面的代码去掉逗号,应该可以正常工作了。

     dojo.fadeIn({
     node : link, 
     duration: 300,
     easing: easingFunction
    }),
    

    【讨论】:

      猜你喜欢
      • 2019-12-07
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-04-24
      • 2014-05-24
      • 1970-01-01
      • 2017-11-16
      相关资源
      最近更新 更多