开发者

JavaScript Undefined Error

I'm getting this JavaScript error with IE explorer:

'Slidesh开发者_如何学运维ow is undefined'

The error points to this bit of code:

<script type="text/javascript">
new SlideShow('listOfImages');
</script>


May be you didn't include the required javascripts files for mootools

http://www.electricprism.com/aeron/slideshow/

http://code.google.com/p/slideshow/

for example, include mootools, and slideshow

<script type="text/javascript" src="js/mootools.js"></script>
<script type="text/javascript" src="js/slideshow.js"></script>


SlideShow is a name of an object constructor. It has to be defined prior to its use in the script tag either in the embedded script or in a file loaded by the tag

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜