Assuming you've downloaded and placed fadeslideshow.js in the right folde, follow the instructions below.
Going back to the beggining, paste the following in the <head> section of your page:
Code:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.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">
var mygallery=new fadeSlideShow({
wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
dimensions: [250, 180], //width/height of gallery in pixels. Should reflect dimensions of largest image
imagearray: [
["http://link-to-image"],
["http://link-to-image2"],
["http://link-to-image3"]
],
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: "none",
togglerid: ""
});
</script>
And replace the highlighted with the links to your images.
Now, if you like the first example on the page, you're going to want to paste the following markup where you want it on your page:
Code:
<div id="fadeshow1"></div>
Try that, and tell me how it goes.
Bookmarks