Getting browser width (compliant)

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • 3W

    Getting browser width (compliant)

    How does one get the browser's width using standards compliant
    Javascript 1.5/ECMAScript?
  • Lasse Reichstein Nielsen

    #2
    Re: Getting browser width (compliant)

    trefork@yahoo.c om (3W) writes:
    [color=blue]
    > How does one get the browser's width using standards compliant
    > Javascript 1.5/ECMAScript?[/color]

    There is no standard for browsers.
    The ECMA-262 standard covers the echsmacript language core, not
    the runtime environment.
    The W3C DOM recommendations cover the document model, but not the
    browser (since it is designed to work with arbitrary documents).

    The usual answers are in the FAQ: <URL:http://jibbering.com/faq/#FAQ4_9>

    /L
    --
    Lasse Reichstein Nielsen - lrn@hotpop.com
    Art D'HTML: <URL:http://www.infimum.dk/HTML/randomArtSplit. html>
    'Faith without judgement merely degrades the spirit divine.'

    Comment

    Working...