Line 32: | Line 32: | ||
} | } | ||
doscroll = false; | doscroll = false; | ||
− | setTimeout(tagUpdate | + | setTimeout(tagUpdate,transitionTime); |
} | } | ||
} | } | ||
Line 97: | Line 97: | ||
tag--; | tag--; | ||
$(".s1 > div").css("transform","translateY(" + -(document_Height)*(tag-1) + "px)"); | $(".s1 > div").css("transform","translateY(" + -(document_Height)*(tag-1) + "px)"); | ||
− | setTimeout(tagUpdate | + | setTimeout(tagUpdate,transitionTime); |
paa.innerHTML = "tag=" + tag; | paa.innerHTML = "tag=" + tag; | ||
} | } | ||
Line 104: | Line 104: | ||
tag++; | tag++; | ||
$(".s1 > div").css("transform","translateY(" + -(document_Height)*(tag-1) + "px)"); | $(".s1 > div").css("transform","translateY(" + -(document_Height)*(tag-1) + "px)"); | ||
− | setTimeout(tagUpdate | + | setTimeout(tagUpdate,transitionTime); |
paa.innerHTML = "tag=" + tag; | paa.innerHTML = "tag=" + tag; | ||
}else if(tag===tagRange){ | }else if(tag===tagRange){ | ||
//setTimeout(function(){doscroll = true;paa.innerHTML = "removed"+doscroll;},transitionTime); | //setTimeout(function(){doscroll = true;paa.innerHTML = "removed"+doscroll;},transitionTime); | ||
− | setTimeout(tagUpdate | + | setTimeout(tagUpdate,transitionTime); |
} | } | ||
} | } | ||
Line 115: | Line 115: | ||
if(Math.abs(mTop_changed)<document_Height/2){ | if(Math.abs(mTop_changed)<document_Height/2){ | ||
$(".s1 > div").css("transform","translateY(" + -(document_Height)*(tag-1) + "px)"); | $(".s1 > div").css("transform","translateY(" + -(document_Height)*(tag-1) + "px)"); | ||
− | setTimeout(tagUpdate | + | setTimeout(tagUpdate,transitionTime); |
}else{ | }else{ | ||
if(moveY>0){ | if(moveY>0){ | ||
Line 121: | Line 121: | ||
tag--; | tag--; | ||
$(".s1 > div").css("transform","translateY(" + -(document_Height)*(tag-1) + "px)"); | $(".s1 > div").css("transform","translateY(" + -(document_Height)*(tag-1) + "px)"); | ||
− | setTimeout(tagUpdate | + | setTimeout(tagUpdate,transitionTime); |
paa.innerHTML = "tag=" + tag; | paa.innerHTML = "tag=" + tag; | ||
} | } | ||
Line 128: | Line 128: | ||
tag++; | tag++; | ||
$(".s1 > div").css("transform","translateY(" + -(document_Height)*(tag-1) + "px)"); | $(".s1 > div").css("transform","translateY(" + -(document_Height)*(tag-1) + "px)"); | ||
− | setTimeout(tagUpdate | + | setTimeout(tagUpdate,transitionTime); |
paa.innerHTML = "tag=" + tag; | paa.innerHTML = "tag=" + tag; | ||
} | } |
Revision as of 06:30, 18 July 2018