开发者

JavaScript Undefined Error

开发者 https://www.devze.com 2022-12-15 03:54 出处:网络
I\'m getting this JavaScript error with IE explorer: \'Slidesh开发者_如何学运维ow is undefined\'

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

精彩评论

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