By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,946 Members | 1,701 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,946 IT Pros & Developers. It's quick & easy.

get full web browser height

P: 43
Hi again,
so i got another question this time
i need to get full web height but i just can't do it can anyone help me plz
i try to use innerHeight, screen.availHeight and so on but thous function get me height that i can see not full height with scrollbars so how to get height full web height??? i hove you understand me i you don't write i will try to explane again
Apr 30 '08 #1
Share this Question
Share on Google+
5 Replies


acoder
Expert Mod 15k+
P: 16,027
Is it width or is it the height that you want? :)

When you say the 'web', do you mean the browser?
Apr 30 '08 #2

P: 43
height and yep browser ;]
Apr 30 '08 #3

acoder
Expert Mod 15k+
P: 16,027
I see you changed the title.

Maybe the problem is IE - see this CSS Object Model View compatibility table.
Apr 30 '08 #4

P: 43
So you see i need to get this lets say i scrolled down to the bottom of the page and i call function scrollTop and lets say i get 1200. So i need to get that number without scrolling to the bottom of the page. how how to get than number (browser height)
Apr 30 '08 #5

acoder
Expert Mod 15k+
P: 16,027
Look through the link (and possibly a few of the test pages) to see which property you're looking for. Do you need innerHeight or outerHeight?
Apr 30 '08 #6

Post your reply

Sign in to post your reply or Sign up for a free account.