I am writing code for a very basic jQuery slider with the following features:
- Slide the content left or right on click of next/previous links till there is no more content on the clicked side.
- If any content is added dynamically, the entire content should slide.
There still need to be too many addition and modifications, I would like to know if my approach is correct and the code that I am writing is going the correct way.
The demo can be seen at : [http://jsfiddle.net/gentrobot/RY3TH/2/][1]
I am planning to write a plugin for this later. [1]: http://jsfiddle.net/gentrobot/RY3TH/2/