[Javascript] Determining the window sizes

Brett Stinson brett.stinson at gmail.com
Tue May 29 08:27:56 CDT 2007


Trevor:
  See is this helps:

http://www.javascripter.net/faq/browserw.htm

-- 
Brett.Stinson at gmail.com


On 5/28/07, Trev and Liz Smith <trevnliz at optusnet.com.au> wrote:
>
> I am relatively new to JavaScript but am able to find my way round the
> DOM model OK.
> I am trying to write scientific calculations in JavaScript and plot the
> results.
> I have a set of plotting functins OK but I want to size the graphs to
> fit nicely on the page with other text etc.
> To do this I need to find the space available to me on the user's screen
> at run time.
> I am finding it difficult to get the available area's dimensions in
> pixels.
> Can someone help me by advising me where and when to get the
> window.document.body.clientWidth property?
>
> Regards,
> Trevor
>
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20070529/aebf1caa/attachment.htm>


More information about the Javascript mailing list