简体   繁体   English

我的网站在FF中工作正常,但IE7给我错误

[英]My site works fine in FF, but IE7 gives me error

Here is my site: http://www.sumsy.com/temp/templatesys/config.php?template=1 这是我的网站: http : //www.sumsy.com/temp/templatesys/config.php?template=1

IE6, 7 give me errors. IE6、7给我错误。

Line 9 Char 3 Expected identifier, string or number Code 0 URL: config.php?template=1 第9行字符3预期的标识符,字符串或数字代码0 URL:config.php?template = 1

so for situation like this, how do you guys debug it? 所以对于这种情况,你们如何调试呢? I dont even know the error is coming from JS code or Php code. 我什至不知道错误来自JS代码或Php代码。 IE doesnt say which file. IE浏览器不说哪个文件。

Thanks 谢谢

$(document).ready(function(){
    $("a#changeTemplate").fancybox(
            {
                'autoDimensions'    : false,
            'width'                 : 350,
            'height'                : 'auto', // here

        }
);

try removing the extra comma on auto, in custom.js 尝试在custom.js中删除auto,的多余逗号 在此处输入图片说明

source 资源

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM