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

Q1640 How can I replace a frameset with a single page after a delay?

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

Q1640 How can I replace a frameset with a single page after a delay?

The following loads the mainpage.html as the visible page five seconds after the frames in the frameset have completely loaded:

<frameset cols="100%,*" onLoad="setTimeout('top.location.href=\'mainpage.html\''),5000);">
<frame src="splashpage.html">
<frame src="mainpage.html">
</frameset>

This could be used to display a splash page (a fast loading "please wait" page), whilst a large main page is being downloaded.


Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


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