jquery - How to check scroll top or bottom without using scrollTop? -


Hello there is a way to check whether it is to check where this last scroll is, without the Masuhel incident There is a way to look up or down. As I have disabled my scrolling and have used animate instead of scrolling.

  var currentTop = 0; Var scrolling = falls; Var allowNextAnimation = true; $ ('Contact dive'). ('Scroll Touchmov Muswell', Function (E) (if (scrolling & allow .x animation) {if (scrollable current) current top = current hat + 70; otherwise (scroll down) current hat = current hat - (70) scrolling = {'Contact.DV'}. ({ScrollTop: currentTop}, 500, function () {scrolling = false; allowNextAnimation = false;}); returnback;} allowNextAnimation = true;});   

I should know where the scrollt is, to know whether the mouse scroll is up or down or is there any advice?

For Mussevel event:

  $ ('html,') Body ') (' MouseWeil Mosaicus Pixelscroll ', Function (Event) {var Delta = Event.Original Event.Vihil Delta * -1} Event.Continental Avent DCT; if (Delta & lt; 0) {console.log (' Scroll up ');} else {console.log (' scroll down ');}});   

You can see on JSField that blocks the Musawee block for 300 MS, if the medium container has reached up / down and you continue the scrolling molecule up / down. After 300 ms inactivity you can scroll the document.

Y Event property for the Touch Event Track Page

Comments

Popular posts from this blog

php - PDO bindParam() fatal error -

logging - How can I log both the Request.InputStream and Response.OutputStream traffic in my ASP.NET MVC3 Application for specific Actions? -

java - Why my included JSP file won't get processed correctly? -