Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Regular Coder
    Join Date
    Nov 2004
    Location
    near the only active volcano in the continental US
    Posts
    409
    Thanks
    6
    Thanked 2 Times in 2 Posts

    Question Browser Window Resize

    This might sound stupid and if it does, I am sorry, but I cant find any reference to this information. I know that by using js, I can force a resize of the window, but I am curious if there is any way to detect whether the end user has resized the window other than setting a timed interval and reloading the parameters that might be altered by a user initiated resizing of the window?

  • #2
    fci
    fci is offline
    Senior Coder
    Join Date
    Aug 2004
    Location
    Twin Cities
    Posts
    1,345
    Thanks
    0
    Thanked 0 Times in 0 Posts

  • #3
    Regular Coder
    Join Date
    Nov 2004
    Location
    near the only active volcano in the continental US
    Posts
    409
    Thanks
    6
    Thanked 2 Times in 2 Posts
    Much Coolness!

  • #4
    Regular Coder
    Join Date
    Nov 2004
    Location
    near the only active volcano in the continental US
    Posts
    409
    Thanks
    6
    Thanked 2 Times in 2 Posts
    Actually, one more question. . . I already have a function designed to set the parameters of the object in question. The function calls for the window width and adjusts the size of a table element accordingly. However, if I am going to use the

    window.onresize = functionname()

    is there a specific place that it needs to be placed or does it simply need to reside within the head/script tags?

    Again, much coolness for the information.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •