[Javascript] Window dimensions?
diego nunes
dnunes at gmail.com
Sat Jul 15 08:37:35 CDT 2006
On 7/15/06, John Warner <john at jwarner.com> wrote:
> Is there a way to determine the internal size (the area where the
> document displays) of the browser window.
(...)
> I need to place an object in the lower right corner of the users browser
You can get the width and height of the viewport using innerWidth
and innerHeight ptoperty (google it on PPK's site -- there's a
compatibility table, also). Anyway, CSS can do a great job, if you
know how to use.
--
diego nunes
dnunes.com
More information about the Javascript
mailing list