Your copy of fadeslideshow.js has been edited or has become corrupt. Get a fresh copy and try again. I think your editor or upload method have corrupted it by adding code to it. How are you saving and uploading it?
For example, yours looks like so:
Code:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
</head>
<PRE>/* Ultimate Fade-in slideshow (v2.4)
* Last updated: May 24th, 2010. This notice must stay intact for usage
* Author: Dynamic Drive at http://www.dynamicdrive.com/
* Visit http://www.dynamicdrive.com/ for full source code
*/</PRE>
<PRE>//Oct 6th, 09' (v2.1): Adds option to randomize display order of images, via new option displaymode.randomize
//May 24th, 10' (v2.4): Adds new "peakaboo" option to "descreveal" setting. oninit and onslide event handlers added.</PRE>
<PRE>var fadeSlideShow_descpanel={
controls: [['http//www.awstyle.co.uk/c . . .
It should look like:
Code:
/* Ultimate Fade-in slideshow (v2.4)
* Last updated: May 24th, 2010. This notice must stay intact for usage
* Author: Dynamic Drive at http://www.dynamicdrive.com/
* Visit http://www.dynamicdrive.com/ for full source code
*/
//Oct 6th, 09' (v2.1): Adds option to randomize display order of images, via new option displaymode.randomize
//May 24th, 10' (v2.4): Adds new "peakaboo" option to "descreveal" setting. oninit and onslide event handlers added.
var fadeSlideShow_descpanel={
controls: [['http//www.awstyle.co.uk/c . . .
I think it's your editor. Use a text only editor like NotePad to edit the file.
Once that's fixed, there's no div on the page with an id of 'fadeshow1'. I'm pretty sure you want that here:
Code:
<TD WIDTH="68%"> <div id="fadeshow1"><IMG SRC="images/palmoutside.jpg" WIDTH="625" HEIGHT="267"></div>
</TD>
Once that's fixed, the paths to the images are wrong in the new fadeSlideShow() declaration, they should be:
Code:
<script type="text/javascript">
var mygallery=new fadeSlideShow({
wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
dimensions: [625, 267], //width/height of gallery in pixels. Should reflect dimensions of largest image
imagearray: [
["images/palmoutside.jpg
", "", "", "Nothing beats relaxing next to the pool when the weather is hot."],
["images/pooloutdoor.jpg
", "http://en.wikipedia.org/wiki/Cave", "_new", "Some day I'd like to explore these caves!"],
["images/rooms.jpg
"],
["images/partynight.jpg
", "", "", "What a beautiful scene with everything changing colors."] //<--no trailing comma after very last image element!
],
displaymode: {type:'auto', pause:2500, cycles:0, wraparound:false},
persist: false, //remember last viewed slide and recall within same session?
fadeduration: 500, //transition duration (milliseconds)
descreveal: "ondemand",
togglerid: ""
})
</script>
That's it to get it working. But, in some browsers - if you use descriptions, their display will be off unless you use a standards invoking DOCTYPE for the page. Do you intend to use descriptions or not?
Bookmarks