Results 1 to 2 of 2

Thread: The iframe can't close itself in IE8

  1. #1
    Join Date
    Jul 2009
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default The iframe can't close itself in IE8

    1) Script Title: DHTML Window widget

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...ndow/index.htm

    3) Describe problem: the usual way to close the iframe from the iframe itself doesn't work in IE 8.

    Hi.

    The following script should close the iframe with a button located in the iframe itself

    Page
    <a href="#" onClick="yah=dhtmlwindow.open('yahoo', 'iframe', './etud/s_actif_try.aspx', 'Yahoo', 'width=500px,height=300px,center=1'); return false">Show Yahoo</a>

    Iframe
    <a href="#" onClick='javascript:parent.yah.close();'><img src="../images/fermeaide.gif" width="126" height="46" border="0"></a>

    It works in Opera, FF, Chrome... but not in IE8.

    Any solution ?


    Thanks for help

    françois
    Last edited by ddadmin; 10-22-2009 at 07:32 AM.

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    It should work in IE8 actually. Please post a link to the page on your site that contains the problematic script so we can check it out.
    DD Admin

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
  •