Is there any way of measuring the Height of the selected section by Javascript / JQuery ?

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.
There seems to be an object called window.screen you can use to get the actual screen size and then you can subtract the availHeight from it to get height of the segment you are looking for. There is something about it here:
http://www.javascriptkit.com/howto/newtech3.shtml
Basically:
and there is a bit more detail on W3Schools
http://www.w3schools.com/jsref/obj_screen.asp