Permalink
Cannot retrieve contributors at this time
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
68 lines (63 sloc)
2.42 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <HTML> | |
| <HEAD> | |
| <SCRIPT> | |
| <!-- Beginning of JavaScript Applet ------------------- | |
| /* Copyright (C)1996 Web Integration Systems, Inc. DBA Websys, Inc. | |
| All Rights Reserved. | |
| This applet can be re-used or modified, if credit is given in | |
| the source code. | |
| We will not be held responsible for any unwanted effects due to the | |
| usage of this applet or any derivative. No warrantees for usability | |
| for any specific application are given or implied. | |
| Chris Skinner, January 30th, 1996. | |
| */ | |
| function scrollit_r2l(seed) | |
| { | |
| var m1 = "Welcome to the Allendale Police Department Home Page............."; | |
| var m2 = "....Our internet site is constantly under construction, so please check back often!!..............."; | |
| var m3 = "REMEMBER...DIAL 9-1-1 to report ALL EMERGENCIES!!......Thanks for visiting!"; | |
| var msg=m1+m2+m3; | |
| var out = " "; | |
| var c = 1; | |
| if (seed > 100) { | |
| seed--; | |
| var cmd="scrollit_r2l(" + seed + ")"; | |
| timerTwo=window.setTimeout(cmd,100); | |
| } | |
| else if (seed <= 100 && seed > 0) { | |
| for (c=0 ; c < seed ; c++) { | |
| out+=" "; | |
| } | |
| out+=msg; | |
| seed--; | |
| var cmd="scrollit_r2l(" + seed + ")"; | |
| window.status=out; | |
| timerTwo=window.setTimeout(cmd,100); | |
| } | |
| else if (seed <= 0) { | |
| if (-seed < msg.length) { | |
| out+=msg.substring(-seed,msg.length); | |
| seed--; | |
| var cmd="scrollit_r2l(" + seed + ")"; | |
| window.status=out; | |
| timerTwo=window.setTimeout(cmd,100); | |
| } | |
| else { | |
| window.status=" "; | |
| timerTwo=window.setTimeout("scrollit_r2l(100)",75); | |
| } | |
| } | |
| } | |
| // -- End of JavaScript code -------------- --> | |
| </SCRIPT> | |
| <TITLE>Allendale Police Department Online</TITLE> | |
| </HEAD> | |
| <!base target="rframe"> | |
| <FRAMESET COLS="25%,75%"> | |
| <FRAMESET ROWS="100%"> | |
| <FRAME NAME="lframe" SRC="http://www.allendalepd.org/lframe.htm" MARGINHEIGHT=0 MARGINWIDTH=0 SCROLLING=AUTO NORESIZE></A> | |
| <FRAMESET ROWS="100%"> | |
| <FRAME NAME="rframe" SRC="rframe.htm" MARGINHEIGHT=0 MARGINWIDTH=0 SCROLLING=AUTO NORESIZE> | |
| </FRAMESET> | |
| <BODY ONLOAD="timerONE=window.setTimeout('scrollit_r2l(100)',500);"> | |
| </HTML> |