1) Script Title: Ultimate Fade-in slide show v2.0
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...nslideshow.htm
3) Describe problem: I'm trying to create multiple instances of this slideshow (fadeshow1, fadeshow2) and use a different one for the different sections of my site. I can't get it working however. It only shows up on one of the pages (fadeshow1).
This is what I've got in the slideshowscript.js file:
...etc ... (There are 7 of them but this is the first 2.)Code:var mygallery1=new fadeSlideShow({ wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow dimensions: [183, 234], //width/height of gallery in pixels. Should reflect dimensions of largest image imagearray: [ ["http://jcdsboston.localweb.com/dev/wp-content/themes/JCDS-theme/images/inside/photos/photo_ariel.jpg"], ["http://jcdsboston.localweb.com/dev/wp-content/themes/JCDS-theme/images/inside/photos/photo_coby.jpg"], ["http://jcdsboston.localweb.com/dev/wp-content/themes/JCDS-theme/images/inside/photos/photo_ezra.jpg"], ["http://jcdsboston.localweb.com/dev/wp-content/themes/JCDS-theme/images/inside/photos/photo_ca1.jpg"] //<--no trailing comma after very last image element! ], displaymode: {type:'auto', pause:6000, cycles:0, wraparound:false}, persist: false, //remember last viewed slide and recall within same session? fadeduration: 1500, //transition duration (milliseconds) descreveal: "ondemand", togglerid: "" }) var mygallery2=new fadeSlideShow({ wrapperid: "fadeshow2", //ID of blank DIV on page to house Slideshow dimensions: [183, 234], //width/height of gallery in pixels. Should reflect dimensions of largest image imagearray: [ ["http://jcdsboston.localweb.com/dev/wp-content/themes/JCDS-theme/images/inside/photos/photo_bball1.jpg"], ["http://jcdsboston.localweb.com/dev/wp-content/themes/JCDS-theme/images/inside/photos/photo_int1.jpg"], ["http://jcdsboston.localweb.com/dev/wp-content/themes/JCDS-theme/images/inside/photos/photo_rafael.jpg"], ["http://jcdsboston.localweb.com/dev/wp-content/themes/JCDS-theme/images/inside/photos/photo_ravyoel.jpg"] //<--no trailing comma after very last image element! ], displaymode: {type:'auto', pause:6000, cycles:0, wraparound:false}, persist: false, //remember last viewed slide and recall within same session? fadeduration: 1500, //transition duration (milliseconds) descreveal: "ondemand", togglerid: ""
When I call the different ones, I'm using
or fadeshow2, etc ...Code:<div id="fadeshow1"></div>
but only the first one, fadeshow1, is working.
Can anybody help?
Thank you very much,
Laura S.



Reply With Quote

Bookmarks