Results 1 to 3 of 3

Thread: DHTML Window widget (v1.02) - control parent window from iframe across domains

  1. #1
    Join Date
    Apr 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default DHTML Window widget (v1.02) - control parent window from iframe across domains

    1) DHTML Window widget (v1.02)
    2) http://www.dynamicdrive.com/dynamici...ndow/index.htm

    3) Hey there - this is a great script! Solves at least 90% of my issues with this project. Many, many thanks.

    I'm using the <iframe/> version of the dhtmlwindow object and the contents of the iframe reside on a different domain to that of the parent window. I need to call the hide() method of the object to close the window, but, from an event within the iframe (a button click), so I used parent.MYDHTMLwindow.hide().

    Worked great when everything was local... now the hide() method just won't hide the window.

    My question is (and I'm a noob to all this.. so please bear with me) - can I/is it possible, to target the parent window from within the iframe and across the two domains?

    Any suggestions greatly appreciated!
    cheers
    yupik21

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    No, it is not.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Jul 2006
    Location
    Canada
    Posts
    2,581
    Thanks
    13
    Thanked 28 Times in 28 Posts

    Default

    Anything inside the iframe is inaccesible after it's been placed there.
    - Mike

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
  •