How to calculate height of browser menubar,toolbar,navigation bar , bookmark using jquery or javascript
I want to calculate height of browser using jquery so that i can set my another div elemen开发者_如何学编程t accordingly . So what do I have to do in order to make it work???
There is .height()
method present in the jquery which will give you a height of the different element
to find height of the browser or your HTML document than write
$(window).height(); // returns height of browser viewport
$(document).height(); // returns height of HTML document
精彩评论