Tag: 指针

IE8和jQuery空指针

嘿伙计们:我一直在建立一个带有一些动画翻转的网站,在那里我为背景图像设置动画以产生褪色效果。 它在FF3,Safari,chrome中工作正常,但是IE8会抛出“undefined is null or not object”错误。 全文: Message: ‘undefined’ is null or not an object Line: 22 Char: 16 Code: 0 URI: http://www.philipdukes.co.uk/jquery.bgpos.js Message: ‘undefined’ is null or not an object Line: 22 Char: 16 Code: 0 URI: http://www.philipdukes.co.uk/jquery.bgpos.js 在我的网页标题中,我加载了jquery 1.3.2,然后在错误链接中找到了这个bgpos库,然后是我的主页脚本 。 每当我翻转导航按钮时,IE8都会抛出此错误… 任何帮助将不胜感激:我知道我的代码可能不是那里最时尚的,所以建议性的批评也是受欢迎的。 我想专注于这个错误… shearn89