Results 1 to 3 of 3

Thread: Conveyor Belt with Left and Right controls?

  1. #1
    Join Date
    Sep 2007
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Conveyor Belt with Left and Right controls?

    1) Script Title: Conveyor Belt slideshow script

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...rightslide.htm

    3) Describe problem:
    Alright. I'm loving EVERYTHING about this script... what I need though... is 2 separate images "buttons"... one that controls left and one that controls right. So that when the user hovers over it... it changes direction to go left or go right... I checked out the button reverse direction input... but when you hover over the button it functions to change it both directions. I need two separate buttons...

  2. #2
    Join Date
    Sep 2007
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I made a dirty change to the javascript function changing slideReverse to leftSlide and then making the direction either 0 or 1... I'm not sure if this is okay... but it seems to work...

    }
    function leftSlide(){
    clearInterval(lefttime)
    slideDirect=0
    lefttime=slideDirect? setInterval("slideright()",30) : setInterval("slideleft()",30)
    }
    function rightSlide(){
    clearInterval(lefttime)
    slideDirect=1
    lefttime=slideDirect? setInterval("slideright()",30) : setInterval("slideright()",30)
    }

  3. #3
    Join Date
    Jun 2008
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Can I get the script

    I am trying to do the same thing but I could not find the script for reverse direction input to replace it with the code you wrote here, is there anyway I can get the code for reverse direction input
    Thanks

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
  •