0

我试图制作幻灯片画廊并使用 URL 上的示例 - http://mediaeventservices.com/2007/11/15/ajax-image-gallery-powered-by-slideflow-like-cover-flow/

当我在 FF 中查看它时它工作正常但是 IE 和 chrome 给我一个错误:

“is null or not an object”. 
Message: Object required
Line: 66
Char: 2
Code: 0
URI: file:///C:/Romona/P%20drive%20backup/componets/slideShow/slideShow4/slideShowGallery/gallery.html

IE 开发人员工具表明以下行导致了问题:

var imgSrc = ‘photos/large/’+ photos.item(photoNumber – 1).getElementsByTagName(“src”)[0].childNodes[0].nodeValue;

有没有人有什么建议?谢谢

4

1 回答 1

3
于 2012-06-29T22:05:51.077 回答