<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <TITLE>StartPage</TITLE> <META NAME="GENERATOR" CONTENT="Arachnophilia 3.4"> <META NAME="FORMATTER" CONTENT="Arachnophilia 3.4"> <!---create a new html page, place the code below onto it, direct your visitors to this page, change the location.href below to your page address where the images are used. make sure to add the onload indicated below to the body line--------> <!----add all of the script below down to the 'end of head script' line to the 'head' part of your page--> <script language="JavaScript"> <!-- vers = 1.0; // --> </script> <script language="JavaScript1.1"> <!-- vers = 1.1; // --> </script> <script language="javascript"> <!-- function initArray() { this.length = initArray.arguments.length; for (var i = 0; i < this.length; i++) { this[i] = initArray.arguments[i]; } } //// PreLoaded Pictures go here.full paths are used in order to test the script on the computer. use only relative paths if you wish on the internet. ie, img1.jpg, or , if in a folder on the net..ie images/img1.jpg. add or remove as many images as you wish leaving the ); after the last image in the list -----------------> var pics = new initArray( "http://members.tripod.com/~lionsgate/img1.jpg", "http://members.tripod.com/~lionsgate/img2.jpg", "http://members.tripod.com/~lionsgate/img3.jpg", "http://members.tripod.com/~lionsgate/img4.jpg", "http://members.tripod.com/~lionsgate/img5.jpg", "http://members.tripod.com/~lionsgate/img6.jpg", "http://members.tripod.com/~lionsgate/but1.jpg", "http://members.tripod.com/~lionsgate/but2.jpg", "http://members.tripod.com/~lionsgate/but3.jpg", "http://members.tripod.com/~lionsgate/but4.jpg", "http://members.tripod.com/~lionsgate/but5.jpg", "http://members.tripod.com/~lionsgate/but6.jpg"); function transfer(param) { location.href = "http://members.tripod.com/~lionsgate/lake2.html"; // URL of second page goes here. this will be the address of the page you want the visitor to go to. the one where the preloaded images are used ** } function done() { if (vers < 1.1) transfer(); else commence_loading(); } function commence_loading() { for (g=0;g<pics.length;g++) eval('document.preload'+g+'.src = "'+pics[g]+'";'); } // preload the status bar images if (vers >= 1.1) { blue = new Image(); blue.src = "blue.gif"; black = new Image(); black.src = "black.gif"; } var loaded = new initArray(0); for (h=0;h<pics.length;h++) loaded[h] = 0; num_loaded = 0; function update(num) { loaded[num]++; if (loaded[num] == 2) { if (vers < 1.1) document.stats.status.value += "||"; else eval('document.status'+num_loaded+'.src = "blue.gif";'); num_loaded++; if (num_loaded == pics.length) transfer(); } } // --> </script> <!-----////end of head script-------------------------> </HEAD> <BODY BACKGROUND="" BGCOLOR="#000000" TEXT="#ffffff" LINK="#FF0000" VLINK="#000080" ALINK="#000080" onLoad="done()"><!----////add this to body line----> <BR> <CENTER><B><I><H3>Loading.... A Different Lake Applet</H3></B></CENTER><BR> <CENTER><FONT SIZE="4"><B>The page loading will only work correctly with IE4+ or Netscape4+ browsers</B></CENTER> <CENTER> <BR> <FONT SIZE="4"><B>Please be patient while the applet images <BR> are preloaded. Thank you.</B> <BR> <!--////place the below script in the body section of your page---------> <script language="JavaScript"> <!-- if (vers < 1.1) { document.write('What an old browser you have! Get Netscape 3 or above ' + 'to see all the great stuff on this site.<br><br><br><br><br><br>'); for (j=0;j<pics.length;j++) { document.write('<img src="'+pics[j]+'" width=1 height=1>'); } } else { document.write('<table><tr><td><b><font color="#00ffff">Status:</font></b> ' + '<img src="blue.gif" width=15 height=10>'); for (k=0;k<pics.length;k++) document.write('<img src="black.gif" width=30 height=10 name="status'+k+'">'); document.write('</td></tr></table>'); for (j=0;j<pics.length;j++) { document.write('<img src="black.gif" width=1 height=1 ' + 'onLoad="update('+j+')" name="preload'+j+'">'); } } // --> </script> <!----////end of body script--------> </CENTER> <CENTER><B><FONT SIZE="4">Like anything else in cspace, the speed of the images loading depends entirely upon internet traffic. If the status indicator appears to be slow, hit reload or refresh or back on out of here and try again later...thanks </FONT></B></CENTER> <BR> </BODY> </HTML>