Closed Thread Icon

Topic awaiting preservation: HTML Page Preloader NS6 Problem (Page 1 of 1) Pages that link to <a href="" title="Pages that link to Topic awaiting preservation: HTML Page Preloader NS6 Problem (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: HTML Page Preloader NS6 Problem <span class="small">(Page 1 of 1)</span>\

Nervous Wreck (II) Inmate

Insane since: Aug 2002

posted posted 09-16-2002 22:33

I have a script that will preload an html page without using an additional page or redirecting script. With the help of Kuckus I was able to get this script to hide flash elements until the html images were completely loaded in IE browsers. This does not work properly in NS 6 however. In NS6 you will see the loading text while the html loads but the flash navigation remains hidden when the html images are done. I am not sure if this is a syntax problem or incorrect formatting of the DOM structure. Any help would be greatly appreciated.
Here's the script originated by Gilbert Davis and modified to hide the flash by Kuckus.



<!-- Begin
function loadImages() {
if (document.getElementById) { // DOM3 = IE5, NS6
else {
if(document.layers){ //netscape 4
else { // IE 4 = "hidden"; = "visible";



<body onload="loadImages()">

<div id="hidepage" style="position:absolute; top:0px; left:0px; height:100%; width:100%;">

<table width="100%" height="100%" border="0"><tr><td align="center" valign="center"><font face="verdana" color="#ffffff" ><B>Loading...</b></font></td></tr></table></div>

html content here

<div id="hideflash" style="visibility:hidden;">

flash navigation here



Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 09-16-2002 23:15

Offhand it looks fine.

It might not help, but can we see the actual page to view the behavior ourselves?

« BackwardsOnwards »

Show Forum Drop Down Menu