Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to know the full height and width of a webpage

13 views
Skip to first unread message

Karim SAIDI

unread,
Nov 9, 2006, 5:34:51 PM11/9/06
to
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.


Martijn

unread,
Nov 9, 2006, 8:11:32 PM11/9/06
to Karim SAIDI, dev-tec...@lists.mozilla.org
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

> Any help will be apprecied,
> Thanks.
>
>

> _______________________________________________
> dev-tech-layout mailing list
> dev-tec...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-tech-layout
>

0 new messages