Hi all; I have the following files; index.html, sigsheader.js,
sigsboby.js, smilesbody.js and smiles.js. The sourse is below.
The page displays two manual slide shows... Each slideshow has a set
of buttons. the top slideshow (the smiles work fine. How ever the sigs
slideshow displays the pictures in the smiles section.
*************** index.html *************** **************
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Bow's and foggy's stored grahics</title>
<SCRIPT src="smileshead er.js"></SCRIPT>
<SCRIPT src="sigsheader .js"></SCRIPT>
</head>
<body
background="htt p://home.insightbb. com/clipart/backgrounds/bkgnd019.gif"
bgcolor="#fffff f" link="#0000ff" text="#000000" vlink="#ff0000" >
<center>
<h1>Bow's and foggy's stored grahics</h1>
<h2 style="color: rgb(255, 0, 0);" color="red">Tea m Special
Forces</h2>
<table>
<tr>
<tb>
</tb>
<tb>
<SCRIPT src="smilesbody .js"></SCRIPT>
</tb>
</tr>
<tr>
<tb>
<SCRIPT src="sigsbody.j s"></SCRIPT>
</tb>
</tr>
</table>
</center>
</body>
</html>
*************** **** smilesheader.js *************** *************** *
document.writel n("<script type=\"text/javascript\">") ;
document.writel n("");
document.writel n("smilesImages =new Array()");
document.writel n("smilesImag es[0]=\"smiles/007.gif\"");
document.writel n("smilesImag es[1]=\"smiles/1luvu.gif\"");
document.writel n("smilesImag es[2]=\"smiles/1zhelp.gif\"");
document.writel n("smilesImag es[3]=\"smiles/22_yikes.gif\"" );
document.writel n("smilesImag es[4]=\"smiles/2evil.gif\"");
document.writel n("smilesImag es[5]=\"smiles/test.jpg\"");
document.writel n("smilesImag es[6]=\"smiles/2twocents.gif\" ");
document.writel n("smilesImag es[7]=\"smiles/321.gif\"");
document.writel n("smilesImag es[8]=\"smiles/ak47.gif\"");
document.writel n("smilesImag es[9]=\"smiles/ald.gif\"");
document.writel n("smilesImag es[10]=\"smiles/alien.gif\"");
document.writel n("smilesImag es[11]=\"smiles/angry.gif\"");
document.writel n("smilesImag es[12]=\"smiles/arsch.gif\"");
document.writel n("smilesImag es[13]=\"smiles/asdf.gif\"");
document.writel n("smilesImag es[14]=\"smiles/aufreg.gif\"");
document.writel n("smilesImag es[15]=\"smiles/aus.gif\"");
document.writel n("smilesImag es[16]=\"smiles/axt.gif\"");
document.writel n("smilesImag es[17]=\"smiles/a_plain.gif\"") ;
document.writel n("smilesImag es[18]=\"smiles/bad.gif\"");
document.writel n("smilesImag es[19]=\"smiles/badassleft.gif\ "");
document.writel n("smilesImag es[20]=\"smiles/badassright.gif \"");
document.writel n("smilesImag es[21]=\"smiles/badsmile.gif\"" );
document.writel n("smilesImag es[22]=\"smiles/bananasmile.gif \"");
document.writel n("smilesImag es[23]=\"smiles/bananawalk.gif\ "");
document.writel n("smilesImag es[24]=\"smiles/batman.gif\"");
document.writel n("smilesImag es[25]=\"smiles/bazooka.gif\"") ;
document.writel n("smilesImag es[26]=\"smiles/behead.gif\"");
document.writel n("smilesImag es[27]=\"smiles/bekloppt.gif\"" );
document.writel n("smilesImag es[28]=\"smiles/bier.gif\"");
document.writel n("smilesImag es[29]=\"smiles/bigthumb.gif\"" );
document.writel n("smilesImag es[30]=\"smiles/bigun2.gif\"");
document.writel n("smilesImag es[31]=\"smiles/birthday.gif\"" );
document.writel n("smilesImag es[32]=\"smiles/blaah.gif\"");
document.writel n("smilesImag es[33]=\"smiles/blbl.gif\"");
document.writel n("smilesImag es[34]=\"smiles/blover.gif\"");
document.writel n("smilesImag es[35]=\"smiles/bong.gif\"");
document.writel n("smilesImag es[36]=\"smiles/bounce.gif\"");
document.writel n("smilesImag es[37]=\"smiles/bricks1.gif\"") ;
document.writel n("smilesImag es[38]=\"smiles/bs.gif\"");
document.writel n("smilesImag es[39]=\"smiles/bunny.gif\"");
document.writel n("smilesImag es[40]=\"smiles/byewhore.gif\"" );
document.writel n("smilesImag es[41]=\"smiles/casanova.gif\"" );
document.writel n("smilesImag es[42]=\"smiles/charley.gif\"") ;
document.writel n("smilesImag es[43]=\"smiles/cry.gif\"");
document.writel n("smilesImag es[44]=\"smiles/cussing.gif\"") ;
document.writel n("smilesImag es[45]=\"smiles/drink.gif\"");
document.writel n("smilesImag es[46]=\"smiles/dunno.gif\"");
document.writel n("smilesImag es[47]=\"smiles/eek3.gif\"");
document.writel n("smilesImag es[48]=\"smiles/eek7.gif\"");
document.writel n("smilesImag es[49]=\"smiles/enforcer.gif\"" );
document.writel n("smilesImag es[50]=\"smiles/engel.gif\"");
document.writel n("smilesImag es[51]=\"smiles/freak3.gif\"");
document.writel n("smilesImag es[52]=\"smiles/girl.gif\"");
document.writel n("smilesImag es[53]=\"smiles/grasseater.gif\ "");
document.writel n("smilesImag es[54]=\"smiles/grenade.gif\"") ;
document.writel n("smilesImag es[55]=\"smiles/hammer.gif\"");
document.writel n("smilesImag es[56]=\"smiles/headshake2.gif\ "");
document.writel n("smilesImag es[57]=\"smiles/laser_shot_jump .gif\"");
document.writel n("smilesImag es[58]=\"smiles/microwave.gif\" ");
document.writel n("smilesImag es[59]=\"smiles/newbie.gif\"");
document.writel n("smilesImag es[60]=\"smiles/nono.gif\"");
document.writel n("smilesImag es[61]=\"smiles/nuts.gif\"");
document.writel n("smilesImag es[62]=\"smiles/partyman.gif\"" );
document.writel n("smilesImag es[63]=\"smiles/remybussi.gif\" ");
document.writel n("smilesImag es[64]=\"smiles/robot2.gif\"");
document.writel n("smilesImag es[65]=\"smiles/samurai.gif\"") ;
document.writel n("smilesImag es[66]=\"smiles/scratch.gif\"") ;
document.writel n("smilesImag es[67]=\"smiles/screwy.gif\"");
document.writel n("smilesImag es[68]=\"smiles/sheep.gif\"");
document.writel n("smilesImag es[69]=\"smiles/shoot.gif\"");
document.writel n("smilesImag es[70]=\"smiles/silly.gif\"");
document.writel n("smilesImag es[71]=\"smiles/sleeping.gif\"" );
document.writel n("smilesImag es[72]=\"smiles/southpark.gif\" ");
document.writel n("smilesImag es[73]=\"smiles/spam4.gif\"");
document.writel n("smilesImag es[74]=\"smiles/sword.gif\"");
document.writel n("smilesImag es[75]=\"smiles/taz.gif\"");
document.writel n("smilesImag es[76]=\"smiles/twak.gif\"");
document.writel n("");
document.writel n("");
document.writel n("smilescounte r=smilesImages. length-1");
document.writel n("smilesi=0" );
document.writel n("");
document.writel n("");
document.writel n("function smilesfirst()") ;
document.writel n("{");
document.writel n("");
document.writel n("document.get ElementById(\'i mageviewer\').s rc=smilesImages[0]");
document.writel n("smilesi=0" );
document.writel n("}");
document.writel n("");
document.writel n("function smilesprevious( )");
document.writel n("{");
document.writel n("if (smilesi>0)");
document.writel n(" {");
document.writel n(" smilesi--");
document.writel n("
document.getEle mentById(\'imag eviewer\').src= smilesImages[smilesi]");
document.writel n(" }");
document.writel n("}");
document.writel n("");
document.writel n("function smilesnext()");
document.writel n("{");
document.writel n("if (smilesi<smiles counter)");
document.writel n(" {");
document.writel n(" smilesi++");
document.writel n("
document.getEle mentById(\'imag eviewer\').src= smilesImages[smilesi]");
document.writel n(" }");
document.writel n("}");
document.writel n("");
document.writel n("function smileslast()");
document.writel n("{");
document.writel n("document.get ElementById(\'i mageviewer\').s rc=smilesImages[smilescounter]");
document.writel n("}");
document.writel n("<\/script>");
*************** ***** sigsheader.js *************** ***********
document.writel n("<script type=\"text/javascript\">") ;
document.writel n("");
document.writel n("sigsImages=n ew Array()");
document.writel n("");
document.writel n("sigsImages[0]=\"sigs/finished1.jpg\" ");
document.writel n("sigsImages[1]=\"sigs/foghorn.jpg\"") ;
document.writel n("sigsImages[2]=\"sigs/motto.jpg\"");
document.writel n("sigsImages[3]=\"sigs/sig.jpg\"");
document.writel n("sigsImages[4]=\"sigs/SWAT.jpg\"");
document.writel n("");
document.writel n("sigscounter= sigsImages.leng th-1");
document.writel n("sigsi=0");
document.writel n("");
document.writel n("");
document.writel n("function sigsfirst()");
document.writel n("{");
document.writel n("");
document.writel n("document.get ElementById(\'i mageviewer\').s rc=sigsImages[0]");
document.writel n("sigsi=0");
document.writel n("}");
document.writel n("");
document.writel n("function sigsprevious()" );
document.writel n("{");
document.writel n("if (sigsi>0)");
document.writel n(" {");
document.writel n(" sigsi--");
document.writel n("
document.getEle mentById(\'imag eviewer\').src= sigsImages[sigsi]");
document.writel n(" }");
document.writel n("}");
document.writel n("");
document.writel n("function sigsnext()");
document.writel n("{");
document.writel n("if (sigsi<sigscoun ter)");
document.writel n(" {");
document.writel n(" sigsi++");
document.writel n("
document.getEle mentById(\'imag eviewer\').src= sigsImages[sigsi]");
document.writel n(" }");
document.writel n("}");
document.writel n("");
document.writel n("function sigslast()");
document.writel n("{");
document.writel n("document.get ElementById(\'i mageviewer\').s rc=sigsImages[sigscounter]");
document.writel n("}");
document.writel n("<\/script>");
*************** * smilesbody.js *************** **************
document.writel n("<center>") ;
document.writel n("<h1>smiles <\/h1>");
document.writel n("<form>");
document.writel n("<input value=\"First\" onclick=\"smile sfirst()\"
type=\"button\" >");
document.writel n("<input value=\"Previou s\"
onclick=\"smile sprevious()\" type=\"button\" >");
document.writel n("<input value=\"Next\" onclick=\"smile snext()\"
type=\"button\" >");
document.writel n("<input value=\"Last\" onclick=\"smile slast()\"
type=\"button\" >");
document.writel n("<\/form>");
document.writel n("<p><\/p>");
document.writel n("<table border=\"1\">") ;
document.writel n("<tr>");
document.writel n("<td align=\"center\ ">");
document.writel n("<img id=\"imageviewe r\"
src=\"smiles/sword.gif\"><\/td>");
document.writel n("<\/tr>");
document.writel n("<\/table>");
document.writel n("<p><\/p>");
document.writel n("<form>");
document.writel n("<input value=\"First\" onclick=\"smile sfirst()\"
type=\"button\" >");
document.writel n("<input value=\"Previou s\"
onclick=\"smile sprevious()\" type=\"button\" >");
document.writel n("<input value=\"Next\" onclick=\"smile snext()\"
type=\"button\" >");
document.writel n("<input value=\"Last\" onclick=\"smile slast()\"
type=\"button\" >");
document.writel n("<\/form>");
document.writel n("<p><\/p>");
document.writel n("<p>If you have a smilely<\/p>");
document.writel n("<\/center>");
*************** ************** sigsbody.js *************** *************
document.writel n("<center>") ;
document.writel n("<h1>signatur es<\/h1>");
document.writel n("<form>");
document.writel n("<input value=\"First\" onclick=\"sigsf irst()\"
type=\"button\" >");
document.writel n("<input value=\"Previou s\" onclick=\"sigsp revious()\"
type=\"button\" >");
document.writel n("<input value=\"Next\" onclick=\"sigsn ext()\"
type=\"button\" >");
document.writel n("<input value=\"Last\" onclick=\"sigsl ast()\"
type=\"button\" >");
document.writel n("<\/form>");
document.writel n("<p><\/p>");
document.writel n("<table border=\"1\">") ;
document.writel n("<tr>");
document.writel n("<td align=\"center\ ">");
document.writel n("sigs must be within 400 X 150 pixels");
document.writel n("<\/td>");
document.writel n("<\/tr>");
document.writel n("<tr>");
document.writel n("<td align=\"center\ ">");
document.writel n("<img id=\"imageviewe r\"
src=\"sigs/sig.jpg\"><\/td>");
document.writel n("<\/tr>");
document.writel n("<tr>");
document.writel n("<td align=\"center\ ">");
document.writel n("sigs must be within 400 X 150 pixels");
document.writel n("<\/td>");
document.writel n("<\/tr>");
document.writel n("<\/table>");
document.writel n("<p><\/p>");
document.writel n("<form>");
document.writel n("<input value=\"First\" onclick=\"sigsf irst()\"
type=\"button\" >");
document.writel n("<input value=\"Previou s\" onclick=\"sigsp revious()\"
type=\"button\" >");
document.writel n("<input value=\"Next\" onclick=\"sigsn ext()\"
type=\"button\" >");
document.writel n("<input value=\"Last\" onclick=\"sigsl ast()\"
type=\"button\" >");
document.writel n("<\/form>");
document.writel n("<p><\/p>");
document.writel n("<p>If you need a place to store your [SF]
sig<\/p>");
document.writel n("<\/center>");
Regards David. E. Goble
http://www.pnc.com.au/~degoble
degoble[AT]pnc.com.au | dgoble[AT]pnc.com.au
Po Box 648 (9 Murray St), Kingscote, Kangaroo Island SA 5223