Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

BBS: Repost about refreshing layers - August 07, 1998 at 05:57:08

You are here: irt.org | BBS | Repost about refreshing layers [This BBS is closed]

Posted by Yvan Gagnon on August 07, 1998 at 05:57:08:

Hi Martin. That last thread was getting a little out of control, so I
decided to start a new one. Hope you don't mind.

This is the hidden frame document (sidebar.html) that has the
reload script in it:
--------------------------

<HEAD>
<TITLE></TITLE>

<script>

function refresh ()
{
if ( (navigator.appName.lastIndexOf ('Netscape') != -1) &&
(navigator.appVersion >= '3.0')) {
parent.Frame1.document.layers['text2'].window.location.reload ();

}
}

</script>

<META HTTP-EQUIV="Refresh" CONTENT="20;
URL=sidebar.html">

</HEAD>

<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#FF0000" VLINK="#800000" ALINK="#FF00FF"
BACKGROUND="?" onLoad="refresh ()">

</BODY>
</HTML>

------------------


and then you would create the Frame2 document,
and place a layer in it like this:


<DIV ID="text2">
<p><img src="images/dmfire.gif">
</DIV>


Does that function up top look right to you?
I get an error message when the page loads.


I really appreciate this, by the way.

Thanks again.
-- yvan
Follow-ups:

You are here: irt.org | BBS | Repost about refreshing layers [This BBS is closed]

©2018 Martin Webb