Я так понял что это делается где то здесь:
CODE (javascript):
скопировать код в буфер обмена
скопировать код в буфер обмена
- $('.control')
- .bind('click', function(){
- // Determine new position
- currentPosition = ($(this).attr('id')=='rightControl') ? currentPosition+1 : currentPosition-1;
- // Hide / show controls
- manageControls(currentPosition);
- // Move slideInner using margin-left
- $('#slideInner').animate({
- 'marginLeft' : slideWidth*(-currentPosition)
- });
- });