Results 1 to 3 of 3

Thread: Transcluent Slideshow: Changing the transition way from upwards to downwards

  1. #1
    Join Date
    Aug 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Transcluent Slideshow: Changing the transition way from upwards to downwards

    1) Script Title: Transcluent Slideshow

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...ucentslide.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.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Using a text only editor like NotePad, open the translucentslideshow.js file and find the rotate function. Replace it with this one:

    Code:
    	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.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Aug 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default It worked.

    Thank you very much for your help John.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •