Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Q129 How can preload the contents of the next document to be shown in the current frame?

irt.org | Knowledge Base | JavaScript | Frame | Q129 [ previous next ]

Q129 How can preload the contents of the next document to be shown in the current frame?

Use another frameset current frame which uses a hidden frame to preload the next document.

Say your current frameset has:

<FRAMESET COLS="100,*">
    <FRAME SRC="apage.html">
    <FRAME SRC="bpage.html">
</FRAMESET>

Then instead of the bpage.html replace it with another nested framset

<FRAMESET COLS="100,*">
    <FRAME SRC="apage.html">
    <FRAMESET ROWS="100%,*">
        <FRAME SRC="bpage.html">
        <FRAME SRC="cpage.html">
    </FRAMESET>
</FRAMESET>

Then the link to the cpage.htm; from within bpage.html should be:

<A HREF="cpage.html" TARGET="_parent">Next Page</A>

Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 6th July 2009. Maintained by: Martin Webb and Michel Plungjan
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2009 irt.org, All Rights Reserved.