Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
How to know the full height and width of a webpage
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Karim SAIDI  
View profile  
 More options Nov 9 2006, 5:34 pm
Newsgroups: mozilla.dev.tech.layout
From: "Karim SAIDI" <ska...@wanadoo.fr>
Date: Thu, 9 Nov 2006 23:34:51 +0100
Local: Thurs, Nov 9 2006 5:34 pm
Subject: How to know the full height and width of a webpage
Hello,
 I am embedding a browser in my app. and I have to know the full height and
width of the webpage in pixels.
How can I achieve that?

Any help will be apprecied,
 Thanks.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Martijn  
View profile  
 More options Nov 9 2006, 8:11 pm
Newsgroups: mozilla.dev.tech.layout
From: Martijn <martijn.mart...@gmail.com>
Date: Fri, 10 Nov 2006 02:11:32 +0100
Local: Thurs, Nov 9 2006 8:11 pm
Subject: Re: How to know the full height and width of a webpage
On 11/9/06, Karim SAIDI <ska...@wanadoo.fr> wrote:

> Hello,
>  I am embedding a browser in my app. and I have to know the full height and
> width of the webpage in pixels.
> How can I achieve that?

window.innerHeight + window.scrollMaxY should work, see:
http://developer.mozilla.org/en/docs/DOM:window.scrollMaxY

Regards,
Martijn


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »