View Full Version : fadeSlideShow undefined error

12-24-2009, 07:15 PM
1) Script Title: fadeslideshow

2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...nslideshow.htm

3) The slideshow works on my local drive, but when I move the files over I get a "fadeSlideShow undefined" error. The full code is at http://www.papageorgios.com but my snippet is below:

<script type="text/javascript" src="fadeslideshow.js">/************************************************ Ultimate Fade In Slideshow v2.0- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)* This notice MUST stay intact for legal use* Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more***********************************************/</script><script type="text/javascript">var mygallery=new fadeSlideShow({ wrapperid: "fadeshow1", dimensions: [400, 360], imagearray: [ ["http://www.papageorgios.com/images/bw_swirl.jpg", "", "", ""], ["http://www.papageorgios.com/images/color_swirl.jpg", "", "", ""], ["http://www.papageorgios.com/images/bw_paisley.jpg", "", "", ""], ["http://www.papageorgios.com/images/metal.jpg", "", "", ""] ], displaymode: {type:'auto', pause:2500, cycles:0, wraparound:false}, persist: false, fadeduration: 500, descreveal: "ondemand", togglerid: ""})</script></head>

Any ideas? Thanks for any help you can provide!!

12-25-2009, 03:17 AM
Your code is all in one continuous unbroken line (both in your post and in the source code of your page). That can often work, but not with this script. Follow the instructions on the demo page. Preserve the line breaks in the code. If you want more help after that, let us know.