SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Dec 2007
    Posts
    36
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to check properties of a popped up window

    Hi,

    How can I check the properties of a window that has been popped up?

    I'd like to check to check the height, width, top position, left position , scroll bars and if its re-sizable or not.

    So if the values are not what I set it'll close.

    I can do the closing part , but i'm struggling with the other things. Could you please help me.

    Thanks.

  2. #2
    SitePoint Guru
    Join Date
    Nov 2005
    Location
    Midwest
    Posts
    777
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If you are specifying the values up front before you open a new browser window, I am not sure how the values would not be what you want. I would also question why this is really a big deal. After the window opens, the user has the ability to change all of the values you listed.

  3. #3
    SitePoint Enthusiast
    Join Date
    Dec 2007
    Posts
    36
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You're right. But still, is it possible to check this? So if they are not what I specified, the window will close.


Bookmarks

Posting Permissions

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