SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Member
    Join Date
    Feb 2005
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Smile Can a pop up window be referenced by another unrelated window?

    Hi
    I would like to know if a pop up window can be referenced by a window other than the opener?

    Please help!! Thanks.

  2. #2
    SitePoint Wizard
    Join Date
    Mar 2001
    Posts
    3,537
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes.

  3. #3
    SitePoint Evangelist SpaceFrog's Avatar
    Join Date
    Jan 2005
    Location
    Outerspace
    Posts
    511
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    with parent ?

  4. #4
    SitePoint Addict markchivs's Avatar
    Join Date
    Oct 2004
    Location
    Malvern Hills, UK
    Posts
    233
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Munna Behen
    Hi
    I would like to know if a pop up window can be referenced by a window other than the opener?

    Please help!! Thanks.
    Yes it can but the window you want to reference this particular pop up from would have to be either the top parent window or one of it's children/grandchildren/...

    Otherwise you'd be able to write javaScript that could read content off of the users other browser session windows. Errr like their bank details for example So it's a security risk and that why it's not possible.

    Hope this helps




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
  •