在IE中加载灯箱问题

时间:2010-11-30 13:46:11

标签: internet-explorer lightbox

您好我刚刚使用此http://www.flashxml.net/3d-carousel-menu.html

中的代码在我的网站上传了Lightbox

如果我点击Firefox中的图片,图片就可以正常打开

但是,如果我尝试使用IE 8,图像不会放大或Lightbox不起作用

你能帮帮我吗?

这是网站:

http://www.wikima4.com/index.php?id=423

我在IE中遇到错误:

 Webpage error details

 User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0;   SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0;   .NET4.0C; AskTbFXTV5/5.9.1.14019)
 Timestamp: Tue, 30 Nov 2010 13:57:36 UTC


    Message: Object doesn't support this property or method
    Line: 42
    Char: 3
    Code: 0
    URI: http://www.wikima4.com/assets/snippets/ajaxSearch/js/ajaxSearch.js


    Message: Object doesn't support this property or method
    Line: 153
    Char: 107
    Code: 0
    URI: http://www.wikima4.com/manager/media/script/mootools/mootools.js


    Message: Object doesn't support this property or method
    Line: 567
    Char: 3
    Code: 0
    URI: http://www.wikima4.com/js/effects.js


    Message: Object doesn't support this property or method
    Line: 567
    Char: 3
    Code: 0
    URI: http://www.wikima4.com/js/effects.js


   Message: Object doesn't support this property or method
   Line: 567
   Char: 3
   Code: 0
   URI: http://www.wikima4.com/js/effects.js


  Message: Object doesn't support this property or method
  Line: 567
  Char: 3
  Code: 0
  URI: http://www.wikima4.com/js/effects.js


  Message: Object doesn't support this property or method
  Line: 567
   Char: 3
  Code: 0
  URI: http://www.wikima4.com/js/effects.js


 Message: Object doesn't support this property or method
 Line: 567
 Char: 3
 Code: 0
 URI: http://www.wikima4.com/js/effects.js


  Message: Object doesn't support this property or method
  Line: 567
  Char: 3
  Code: 0
   URI: http://www.wikima4.com/js/effects.js


  Message: Object doesn't support this property or method
  Line: 567
  Char: 3
  Code: 0
  URI: http://www.wikima4.com/js/effects.js


   Message: Object doesn't support this property or method
   Line: 567
   Char: 3
   Code: 0
   URI: http://www.wikima4.com/js/effects.js


  Message: Object doesn't support this property or method
  Line: 567
  Char: 3
  Code: 0
  URI: http://www.wikima4.com/js/effects.js

1 个答案:

答案 0 :(得分:0)

IE8有一个开发人员控制台,您可以使用它进行更详细的调试。

  • 工具
  • 开发人员工具

  • F12

我在页面上浏览过,看起来它在加载时会抛出2个错误,第一个错误在prototype.js

  

'对象不支持此属性   或方法' - prototype.js,第448行   角色5

var Enumerable = {
  each: function(iterator) {
    var index = 0;
    try {
      this._each(function(value) {
        iterator(value, index++);
      });
  breaks here-->} catch (e) {
      if (e != $break) throw e;
    }
    return this;
  },

第二个是mootools.js,第153行,第107个字符

  

'对象不支持此属性   或方法'= mootools.js,第153行   人物107

this.fireEvent("domready");

我无法重现这个问题,但我建议用谷歌搜索其他人一起使用不同脚本可能遇到的冲突。看看是否可能出现问题,如果您使用的框架已更新,您可以尝试使用更新的框架来查看是否有任何更新更正了您的问题。

IE8中开发者工具的MSDN概述和教程:http://msdn.microsoft.com/en-us/library/dd565622(v=vs.85).aspx

祝你好运