i want javascript or Jquery function return me that >>> how div far from screenY , when i make scrolling to the document;
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I created a small demo for this.
Please check it here.
Demo : http://jsfiddle.net/codebombs/4sMKW/
Check in Console, in the above demo for screenY position of the DIV.
Here I am using this code :
Let me know if this helped and also if it need any modifications.