Frame load order trick fails with refresh

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jan Doggen

    #1

    Frame load order trick fails with refresh

    Hello,

    I'm using the 'standard' trick to force the load order of my frames:

    <HTML>
    <HEAD>
    <TITLE>Frametes t master page</TITLE>
    <SCRIPT Language="Javas cript">
    function refreshFrame() {
    frames['vFrame'].window.locatio n.href = "VisibleFrame.h tm"; }
    </SCRIPT>
    </HEAD>
    <FRAMESET COLS="100%,0" BORDER="0" onLoad="refresh Frame();">
    <FRAME SRC="blank.htm" NAME="vFrame">
    <FRAME SRC="HiddenFram e.htm" NAME="hFrame">
    </FRAMESET>
    </HTML>

    but this does not work when the user hits F5 (refresh).
    I want this specific load order because VisibleFrame.ht m accesses objects in
    HiddenFrame.htm .

    Is there a workaround for this?

    Thanks in advance
    Jan





    --
    ---------------------------------------------------------------------------
    Jan Doggen, QSA Halfweg, The Netherlands
    Please remove the spam blocker from my email address when replying directly


  • Csaba Gabor

    #2
    Re: Frame load order trick fails with refresh

    For an idea on frame loading order using
    onload="if (top.isLoaded) top.frames['main'].mainCode(); else top.isLoaded=tr ue;"
    in both <body>s, see my post, earlier today, at:


    Csaba Gabor from Vienna


    Jan Doggen wrote:[color=blue]
    > Hello,
    >
    > I'm using the 'standard' trick to force the load order of my frames:
    >
    > <HTML>
    > <HEAD>
    > <TITLE>Frametes t master page</TITLE>
    > <SCRIPT Language="Javas cript">
    > function refreshFrame() {
    > frames['vFrame'].window.locatio n.href = "VisibleFrame.h tm"; }
    > </SCRIPT>
    > </HEAD>
    > <FRAMESET COLS="100%,0" BORDER="0" onLoad="refresh Frame();">
    > <FRAME SRC="blank.htm" NAME="vFrame">
    > <FRAME SRC="HiddenFram e.htm" NAME="hFrame">
    > </FRAMESET>
    > </HTML>
    >
    > but this does not work when the user hits F5 (refresh).
    > I want this specific load order because VisibleFrame.ht m accesses objects in
    > HiddenFrame.htm .
    >
    > Is there a workaround for this?
    >
    > Thanks in advance
    > Jan[/color]

    Comment

    Working...