PDA

View Full Version : Transcluent Slideshow: Changing the transition way from upwards to downwards



burak2102
08-09-2011, 12:24 PM
1) Script Title: Transcluent Slideshow

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/translucentslide.htm

3) Describe problem: New slide enters from downside of the page. How can I change it to exact opposite?

Thanks for this wonderful source and your help.

jscheuer1
08-10-2011, 04:29 AM
Using a text only editor like NotePad, open the translucentslideshow.js file and find the rotate function. Replace it with this one:


rotate:function(){
var slideshow=this
if (this.ismouseover){ //pause slideshow onmouseover
this.rotatetimer=setTimeout(function(){slideshow.rotate()}, this.setting.displaymode.pause)
return
}
var nextslide=(this.curslide<this.$imageslides.length-1)? this.curslide+1 : 0
this.slide(nextslide, (this.posprop === 'top'? 'down' : 'left')) //go to next slide, either to the left or downwards depending on setting.orientation setting
if (this.setting.displaymode.cycles==0 || this.curstep<this.maxsteps-1){
this.rotatetimer=setTimeout(function(){slideshow.rotate()}, this.setting.displaymode.pause)
this.curstep++
}
},

Hit save and use that version.

burak2102
08-10-2011, 07:32 AM
Thank you very much for your help John.