The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Anything Slider – vary the travel time..

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #32388


    I have 7 different slides in my AnythingSlider with the “duration” set to 2 seconds. I want to make the travel speed always consistent. SO, between slide 1 and 2 it would take 2 seconds. But between slides 1 and 3 it would take 4 seconds – twice the distance so twice the time. To travel all the way from slide 1 to slide 7 it would take 14 seconds.

    This way the duration would vary depending on how “far” you were travelling, but the speed would always be the same.

    I’d really appreciate any help with this. I don’t know javascript very well, but I’m good with PHP. Doesn’t really help here.

    I think this would be a great feature to have in the Slider as standard. Please let me know if you can help and thanks in advance.



    That’s brilliantly helpful, thank you so much.

    I have a fancy one page website and I don’t want the magic of the in-between-slides graphics to be missed because it’s whizzing past too fast for you to see.

    I’ll get this working tonight, thanks for your help!

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.