SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Evangelist winterheat's Avatar
    Join Date
    Aug 2007
    Posts
    508
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Javascript Guru help needed... iframe's content change will wipe out parent page

    Hi, I think probably only a Javascript Guru level person can answer this question:

    I have a page on IE6, and it iframes another page.

    In the iframe, I merely wait 3 seconds (by setTimeout() or by AJAX) to change an empty div's innerHTML to "hello"

    and then most of the parent's content is wiped out...

    It is actually IE6 with Facebook's new design. It doesn't happen on IE7 or Firefox 3... but only happens on IE6. Could it be an IE bug, or can there be an event that says: whenever the iframe's content change, do something.

    i thought onchange() is only for input text field but not for iframe...

  2. #2
    SitePoint Evangelist winterheat's Avatar
    Join Date
    Aug 2007
    Posts
    508
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    actually, it looks like it to due to some resize events...

    for example, go to

    http://apps.new.facebook.com/superwa...r_id=526208492

    and then when the page is loaded fully, resize the window just a little. Now the whole screen is gone.


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
  •