I'm trying to make the prev(left) button of my carouFredSel hidden initially and become visible only when the next button is clicked on. Since my carousel if neither circular nor infinite, it doesn't make sense to show the left(prev) button when the page loads.
I'd be grateful if you could also help out in hiding the next(right) button on reaching the last element in the carousel. Thanks.
The script I'm using is:
$("#models-carousel").carouFredSel({
items: 4,
circular: false,
infinite: false,
auto : false,
prev : {
button : "#models-carousel_prev",
},
next : {
button : "#models-carousel_next",
},
scroll : {
duration: 1000,
}
});