Make your own free website on Tripod.com



Source Code
<script language="JavaScript">
<!-- Hide
// variables
var message = new Array;
message[1] = "Place your messages in here";
message[2] = "As many as you want";
message[3] = "Change the variable number to how many you want";
message[3] = "Change the numbers after rows and cols to adjust the size of the display window.";
message[4] = "Use this for a line break\nIt won't\nshow up on the screen so view the source to find out";
message[5] = "This is the last message I have for in this script\nIf you added one more it would be message[6] and you would change number to 6 and so on";
var number = 5;
var current= 1;
var view_current=message[current];
// functions
function DisPlay(){
view_current=message[current];
window.document.the_form.the_box.value=view_current;}
function Forward(){
current=current+1;
if (current>number){current = 1;}
DisPlay();}
function BackWard(){
current=current-1;
if (current<1){current=number;}
DisPlay();}
// End Hide -->
</script>
<body onLoad="DisPlay()" bgcolor="#FFFFFF" text="#000000" link="#0000CC" vlink="#000066">
<center>
<form name=the_form>
<textarea name=the_box rows=8 cols=20>
</textarea>
<br>
<input type="button" name="button1" value="back" onClick=BackWard()>
<input type="button" name="button2" value="forward" onClick=Forward()>
</form>
</center>




Transload it
Labratory