OK, download this script:
Attachment 4241
Put it in the same folder as the fadeslideshow.js file (the js folder).
Then on your page where you have:
Code:
<script type="text/javascript" src="js/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: [390, 475], //width/height of gallery in pixels. Should reflect dimensions of largest image
imagearray: [
["images/km_products/10041.png"],
["images/km_products/15213.png"],
["images/km_products/17515_Detail_1.png"] //<--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: 1000, //transition duration (milliseconds)
descreveal: "ondemand",
togglerid: ""
})
</script>
Replace that with:
Code:
<script type="text/javascript" src="js/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="js/positionbackground.js">
// Position Background Script (c)2011 John Davenport Scheuer
// For Ultimate Fade in Slideshow 2.x
// as first seen in http://www.dynamicdrive.com/forums/
// username: jscheuer1 - This Notice Must Remain for Legal Use
</script>
<script type="text/javascript">
fadeSlideShow.positionbackground({backgroundparent: '#kmTable', delayslideshow: mydelay, supressalerts: true});
function mydelay(){
window.mygallery=new fadeSlideShow({
wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
dimensions: [390, 475], //width/height of gallery in pixels. Should reflect dimensions of largest image
imagearray: [
["images/km_products/10041.png"],
["images/km_products/15213.png"],
["images/km_products/17515_Detail_1.png"] //<--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: 1000, //transition duration (milliseconds)
descreveal: "ondemand",
togglerid: ""
});
}
</script>
There are many options, but it's all setup for that page. If you have any questions, let me know. If there's a problem, put up a demo so I can see it.
The browser cache may need to be cleared and/or the page refreshed to see changes.
Bookmarks