next click function if checkPoint checkPoint false next fadeOut timean

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
next.click(function(){
if (checkPoint) {
checkPoint = false;
next.fadeOut(timeanime,
function(){
prev.css(
'margin-left',
'220px');
});
}
});