Home › Forums › JavaScript › Jquery Slider Div › Re: Jquery Slider Div
March 11, 2013 at 6:56 pm
#127802
Mottie
Member
To make it go left, just change the `$(window).width()` to `contentWidth` and remove the callback:
// hide any visible content
$(‘.content.visible’)
.removeClass(‘visible’)
// reset content position
.animate({
left: contentWidth
});