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

[Solved] Jquery image scroller navigation enable disable problem

  • I have a image scroller which has 2 navigation button left and right. It scrolls up to one image width, I want to give enable class to right navigation key when the images in scroller are there to scroll right and when reaches to the last image it should be disable. Same should also apply to left navigation button.

    Have a look at this is a live example of that.

    http://jsfiddle.net/DCjYA/417/


    i got the answer :D