Response title
This is preview!
jQuery(".NextBtn").click(function(){
if(pos < (cellCount-1)){
curLeft = curLeft - cellWidth;
jQuery(".CellList").animate({left: curLeft + "px"}, 500 );
pos++;
}
//check hover box status
showHideHoverBox();
return false;
});
jQuery(".PrevBtn").click(function(){
if(pos > 0){
curLeft = curLeft - (-cellWidth);
jQuery(".CellList").animate({left: curLeft + "px"}, 500 );
pos--;
}
//check hover box status
showHideHoverBox();
return false;
});
© 2013 jQuery Foundation
Sponsored by and others.