Saturday, 18 June 2011

Custom Content Slider with jQuery

This time, we are going to make a custom content slider. I implemented this in my recent project and I'm pretty happy about it. My colleague spiced it up a little bit with some nice buttons.

The way it works is quite simple, we will have a UL list with 3 buttons and each of the button has a link with a reference to the right panel. How it scroll to the correct panel? It uses jQuery scroll-To plugin.

Basically you just have to pass the ID of the panel to the scroll-To plugin, and it will sroll the content to the correct position.




No comments:

Post a Comment

All Time Popular Posts