Connecting Tech Pros Worldwide Forums | Help | Site Map

window width

Lee David
Guest
 
Posts: n/a
#1: Jul 23 '05
What are the variables I can use to find the width of a particular window?
I have a moving ball thing on the page and want it to got the width of the
current active window where the code is. I understand that there are
different properties needed depending on the browser used.

TIA,
Lee



RobG
Guest
 
Posts: n/a
#2: Jul 23 '05

re: window width


Lee David wrote:[color=blue]
> What are the variables I can use to find the width of a particular window?
> I have a moving ball thing on the page and want it to got the width of the
> current active window where the code is. I understand that there are
> different properties needed depending on the browser used.
>[/color]

Have a look at Quirksmode, follow the 'viewport' link:

<URL:http://www.quirksmode.org/>


There is a heap of other good stuff there too.

--
Rob
Lee David
Guest
 
Posts: n/a
#3: Jul 23 '05

re: window width


You are my new best friend! You wouldn't believe how many sites I went to
(including W3school) trying to find that information. Thank you very much.
Is that your site?

Lee.


RobG
Guest
 
Posts: n/a
#4: Jul 23 '05

re: window width


Lee David wrote:[color=blue]
> You are my new best friend! You wouldn't believe how many sites I went to
> (including W3school) trying to find that information. Thank you very much.
> Is that your site?[/color]

No, it belongs to a Dutchman called Peter-Paul Koch.

And yes, it's a great site, I think I post a link to it at least once
per week. Glad to help! :-)

--
Rob
Closed Thread