Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Dec 2006
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy top.frames not recognized by firefox?

    Heres the lowdown.
    I've got an html document with two iframes.
    The first iframe points to an xml document.
    The second iframe points to an aspx document.

    When the aspx document redirects to itself, the following javascript is executed:
    top.frames["pShoutboxXML"].location.reload(true); return false;
    Which tells the html document to tell the xml document(pShoutboxXML) to refresh.

    It works fine in IE and my brother told me it also works in Opera.
    But it does not work in firefox and I don't know why.
    Any ideas?

    P.S. Heres a link to the page in question:
    http://csd.colstate.edu/hoffman_andr...box/final.html
    EDIT: and heres a link to the aspx form:
    http://csd.colstate.edu/hoffman_andr...utboxFORM.aspx

  • #2
    New Coder
    Join Date
    Nov 2006
    Posts
    52
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You need to remove the boolean argument from the reload method. You might also try it without the return false command. In some instances that may prevent the iframe from redirecting.
    Code:
    top.frames[0].location.reload();
    Last edited by j9ine; 12-05-2006 at 09:55 PM.


  •  

    Posting Permissions

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