Back to Scripts page
Click in the box below, select all and copy to grab the script
<HTML> <HEAD> <TITLE>Moon</TITLE> <SCRIPT LANGUAGE=JAVASCRIPT> <!-- Hide script from older browsers // This script copyright 1997, Tom Negrino and Dori Smith. // This script is from "JavaScript for the WWW, Visual QuickStart Guide, 2nd Ed." // For more information, see <http://www.chalcedony.com/javascript/>. // This script may be used and modified, but the copyright notice must remain intact. function slide() { document.mover.left+=2; if (document.mover.left < 470) { setTimeout("slide()",20) } } // End hiding script --> </SCRIPT> <STYLE TYPE="text/css"> #leftfore {position: absolute; left: 0; top: 5; z-Index: 2;} #mover {position: absolute; left: 5; top: 5; z-Index: 1;} #rightfore {position: absolute; left: 470; top: 5; z-Index: 2;} </STYLE> </HEAD> <BODY BGCOLOR=BLACK onLoad="slide()"> <DIV ID="leftfore"><IMG SRC="img/black_dot.gif" WIDTH="250" HEIGHT="250"></DIV> <DIV ID="mover"><IMG SRC="img/full_moon.jpg" WIDTH="232" HEIGHT="232"></DIV> <DIV ID="rightfore"><IMG SRC="img/black_dot.gif" WIDTH="250" HEIGHT="250"></DIV> </BODY> </HTML>