Skip to main content
2 of 5
modified heading to make it more informative
gentrobot
  • 283
  • 3
  • 10

Review code for coreect approach to create a basic jQuery slider?

I am writing code for a very basic jQuery slider with the following features:

  1. Slide the content left or right on click of next/previous links till there is no more content on the clicked side.
  2. 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/

gentrobot
  • 283
  • 3
  • 10