window width

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Lee David

    #1

    window width

    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

    #2
    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

    Comment

    • Lee David

      #3
      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.


      Comment

      • RobG

        #4
        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

        Comment

        Working...