Make your own free website on Tripod.com
<html><head><title>Image background viewer</title>
<script language="JavaScript">
<!--Hide--
/* Image background viewer by
Matt Lintz freabeer@webtv.net
Comment section must remain
plus a link would be appreciated
*/
var display=new Array(15);
display[1]="http://members.tripod.com/~grizzlyA/library /bill_icon.jpg";
display[2]="http://members.tripod.com/~grizzlyA/library /sun_icon.gif";
display[3]="http://members.tripod.com/~grizzlyA/library /fire_icon.gif";
display[4]="http://members.tripod.com/~grizzlyA/library /chem_icon.gif";
display[5]="http://members.tripod.com/~grizzlyA/library /aright.gif";
display[6]="http://members.tripod.com/~grizzlyA/library /aleft.gif";
display[7]="http://members.tripod.com/~grizzlyA/background/skull.jpg";
display[8]="http://members.tripod.com/~grizzlyA/background/bkred.gif";
display[9]="http://members.tripod.com/~grizzlyA/background/bk8.gif";
display[10]="http://members.tripod.com/~grizzlyA/background/bk7.jpg";
display[11]="http://members.tripod.com/~grizzlyA/background/bk54.jpg";
display[12]="http://members.tripod.com/~grizzlyA/background/bk5.jpg";
display[13]="http://members.tripod.com/~grizzlyA/background/bk4.gif";
display[14]="http://members.tripod.com/~grizzlyA/background/bk25.gif";
display[15]="http://members.tripod.com/~grizzlyA/background/bk22.jpg";
// set maxnum to number of images
var maxnum = 15;
var select = 1;
var page = "";
var bgrnd="";
function disPage(){
bgrnd=("'"+display[select]+"'")
page = ("<body background = "
+bgrnd+"><center><h1><font color='red'>Test Page")
lab=open("","DisplayWindow","status=1,scrollbars=1
");lab.document.write(page); }
var show_num="";
function Show(){
document.imgDisplay.src=display[select];
show_num=("Now viewing "+select+" of "+maxnum);
document.dischange.umber.value=show_num;
}
function sinGle(){
location=display[select];}
function sBack(){
select--;
if (select<1){select = maxnum;}
Show();}
function sFor(){
select++;
if(select>maxnum){select = 1;}
Show();}
//sBack(),disPage(),sFor(),imgDisplay
//--end hide-->
</script>
</head>
<body onLoad="Show()" bgcolor="#000000" text="#FFFFFF" link="#FF66FF" vlink="#FFCCFF">
<center>
<img name="imgDisplay" width=60 height = 60 border=5>
<form name="dischange">
<textarea name="umber" rows=1 cols=12></textarea><br>
<input type="button" value="Back" onClick="sBack()">
<input type="button" value="Page View" onClick="disPage()">
<input type="button" value="Forward" onClick="sFor()"><br>
<input type="button" value="Single View" onClick="sinGle()">
</form>