Hi there, today i sat down and did some content slider class to learn / improve and testdrive my mootools skills.
The Slider itself uses some mechanics to never "jump" back to the beginning but appending the elements left or right to the actual displayed element so there is an endless loop. Eg. pressing "next" on the last element won't rewind back to 1st element but move the 1st element as next element after the previous last one. I am doing this by swapping the content of two divs depending on which action has been called and repositioning those divs after the tween has been done. I setup a fiddle and would like your Opinion and your improvement ideas. http://jsfiddle.net/rmh2B/1/ I personaly like what i cam up with but i think there is room for improvements by you pro's ... Thanx in advance, Timo