Style Switcher
Current time: 23-05-2012, 07:08 AM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to Create an Infinite Carousel with jQuery
26-06-2009, 09:51 AM
Post: #1
How to Create an Infinite Carousel with jQuery

jQueryforDesigners has added a scrolling carousel that worked in the same way the carousel worked on the Apple Mac ads page. They have published a tutorial which walk through the fundamentals of scrolling carousel, and how they have created jQuery Infinite Carousel.

The trick is building the DOM with the cloned nodes, because we’ve cloned the start of the list to the end of the list, when we scroll off the last items, it looks like we’ve looped back round. Once the animation completes, we change the scrollLeft position back to the real first items.

This scrollLeft isn’t visible to the user since the overflow is hidden, and so it creates the effect of being infinitely sliding from left or right.

infinite carousel

Requirements: jQuery Framework
Demo: http://jqueryfordesigners.com/demo/infin...ousel.html
License: License Free

<!-- Similar Posts took 9.720 ms -->

Sponsors

Dreamhost: Get $50 Off with Coupon Code: WEBAPPERS




Posted on Tue, 16 Jun 2009 07:01:23 +0000 at http://feedproxy.google.com/~r/Webappers...hvgRoZkX8/
Comments: http://www.webappers.com/2009/06/16/how-.../#comments
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


 Quick Theme: