Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Jquery Slider Div Re: Jquery Slider Div

#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
});