Insert into <HEAD> of your document.
<Script Language="JavaScript1.2"> <!-- Hiding /* Java Script by Lefteris Haritou 5/05/1997 http://www.geocities.com/SiliconValley/7096 Please do not remove the above credit ! No copyrights, but just be fair */ var x=0; var y=0; var plus=1; function start(){ nw=window.open("","wd","scrolbar=0,toolbar=0,status=0"); window.nw.resizeTo(200,100); window.nw.moveTo(0,0) nw.document.open(); nw.document.writeln('<HTML><BODY onBlur="self.focus()" Bgcolor="#FFFFF0"><CENTER><BR><font face="Arial" color="#0000FF" size=4>Cool New Features Of Netscape 4</font></CENTER></BODY></HTML>'); nw.document.close(); gvar(); } function earthquake(){ window.nw.moveBy(x,y); gvar(); } function gvar(){ if (plus==1){ if (x<35){ x+=1; window.setTimeout("earthquake()",200); } else{ if (y<29){ y+=1; window.setTimeout("earthquake()",200); } else{ plus=0; x=0; y=0; gvar(); } } } else{ if (x>-35){ x-=1; window.setTimeout("earthquake()",200); } else{ if (y>-29){ y-=1; window.setTimeout("earthquake()",200); } else{ fine(); } } } } function gvarm(){ if (y>0){ y-=1; window.setTimeout("earthquake()",200); } else{ if (x>0){ x-=1; window.setTimeout("earthquake()",200); } else{ fine(); } } } function fine(){ alert("Demo presented to you by Lefteris Haritou \n http://www.geocities.com/~lef"); nw.close(); clearTimeout(); } // Done Hiding --> </Script>
Insert into <BODY> of your document.
<CENTER> <Form> <Input type="button" Value="Begin" onclick="start()"> </Form> </CENTER>
1998 Copyright (C) Next Step All Rights Reserved