Add the highlighted, get rid of the red:
Code:
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" var uniquevariable=new fadeSlideShow(wrapperid) </script></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<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" src="fadeslideshow.js">
var mygallery=new fadeSlideShow({
wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
dimensions: [539, 432], //width/height of gallery in pixels. Should reflect dimensions of largest image
imagearray: [
["http://www.................com/Pictures/slideshow1.png", "Welcome to our office!"],
["http://www...................com/Pictures/slideshow2.png", "Picture 2"],
["http://www...................com/Pictures/slideshow3.png" "Picture 3"],
["http://www...................com/Pictures/slideshow4.png", "Thank you for virtually viewing our office!"] //<--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: "peekaboo",
togglerid: ""
})
</script>
</head>
<body>
<div id="fadeshow1"></div>
<br />
</body>
</html>
Make sure you've uploaded the fadeslideshow.js file to the same folder as the above page and that the images are where your code points to. Upper and lower case matter in their paths and filenames, these must match exactly their locations on the server.
If you want more help:
Please post a link to a page on your site that contains the problematic code so we can check it out.
Bookmarks