Gazillion
10-02-2009, 05:28 PM
1) Script Title: Ultimate Fade-in slideshow (v2.0)
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm
3) Describe problem: Basically we have images of various sizes being displayed within the div. The script cycles through them but the previous slides never become transparent, so basically the new slides fade-in on top of the previous ones. It's not a problem when the new picture is bigger than the other but when it's the other way around it can be quite jarring :)
I had this issue previously but went around it by just using a uniform size for all pictures (thinking my poor implementation of the script was the problem) but a coworker tried to use the same script and had the same issue so I was hoping that maybe I overlooked a parameter.
In case this can be of any use I pasted the initialization of the fadeSlideShow object:
var regShow = new fadeSlideShow({
wrapperid: "slideshow_wrap", //ID of blank DIV on page to house Slideshow
dimensions: [248, 347], //width/height of gallery in pixels. Should reflect dimensions of largest image
imagearray: [
["<?=$imagePath?>/interior_design.png"],
["<?=$imagePath?>/innovation.png"],
["<?=$imagePath?>/technology.png"],
["<?=$imagePath?>/security.png"],
["<?=$imagePath?>/environment.png"]
],
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: ""
})
edit: First post, I figure I should say 'hello' and thanks for the scripts :)
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm
3) Describe problem: Basically we have images of various sizes being displayed within the div. The script cycles through them but the previous slides never become transparent, so basically the new slides fade-in on top of the previous ones. It's not a problem when the new picture is bigger than the other but when it's the other way around it can be quite jarring :)
I had this issue previously but went around it by just using a uniform size for all pictures (thinking my poor implementation of the script was the problem) but a coworker tried to use the same script and had the same issue so I was hoping that maybe I overlooked a parameter.
In case this can be of any use I pasted the initialization of the fadeSlideShow object:
var regShow = new fadeSlideShow({
wrapperid: "slideshow_wrap", //ID of blank DIV on page to house Slideshow
dimensions: [248, 347], //width/height of gallery in pixels. Should reflect dimensions of largest image
imagearray: [
["<?=$imagePath?>/interior_design.png"],
["<?=$imagePath?>/innovation.png"],
["<?=$imagePath?>/technology.png"],
["<?=$imagePath?>/security.png"],
["<?=$imagePath?>/environment.png"]
],
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: ""
})
edit: First post, I figure I should say 'hello' and thanks for the scripts :)