treehouse : what would you like to learn today?
Web Design Web Development iOS Development

[Solved] infinite loop sliders

  • Hey guys & girls,
    How would you go about making an infinite loop in a slider using JavaScript?
    The want I've done it before was to go back to the first one once the end has reached, but I'd like something as smooth as this http://simplesafe.net/
    Would you move the elements around in the background to be in the next position?

    I'd really love to hear how other people approach this or any tricks you might have
  • I've used several "infinite" jquery plugin's and they all use the clone option. Seems to me as a great solution.

    But what do you mean with "move the elements around in the background"?
  • Thanks guys, I'm mainly looking to find out how to make it look seamless once you reach the last image
    I'll take a look at the source of simplyscroll