Banner script

by "David Pippen" <gadale(at)earthlink.net>

 Date:  Thu, 4 May 2000 10:23:59 -0400
 To:  <hwg-basics(at)mail.hwg.org>
  todo: View Thread, Original
Can anyone help me with this banner script I can't figure out where to edit
and how

HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
<TITLE>Total Banner</TITLE>
</HEAD>
                        <TD></TD>
                    </TR>
                    <TR VALIGN=TOP ALIGN=LEFT>
                        <TD HEIGHT=85></TD>
                        <TD WIDTH=450>
                            <SCRIPT LANGUAGE="JavaScript"><!--
Banner_imganz=3;var Banner_sctr=0;var Banner_halt=0;var Banner_rand=1;var
Banner_timeout=2000;var Banner_isn=new Array();
if (document.images) {
 for (i=0;i<Banner_imganz;i++) Banner_isn[i]=new Image();
  Banner_isn[0].src="./showbanner1.gif";
  Banner_isn[1].src="./showbanner2.gif";
  Banner_isn[2].src="./showbanner3.gif";
} else {
 Banner_isn[0]="./showbanner1.gif";
 Banner_isn[1]="./showbanner2.gif";
 Banner_isn[2]="./showbanner3.gif";
}
var Banner_durl=new Array();
 Banner_durl[0]="http://www.cybercortex.com";
 Banner_durl[1]="http://www.cybercortex.com";
 Banner_durl[2]="http://www.cybercortex.com";
function Banner_rotate(){
 if (Banner_halt!=1){
  if (Banner_rand==0) {Banner_sctr++;}
   else {Banner_sctr=Math.floor(Math.random()*Banner_imganz);}
  if (Banner_sctr>Banner_imganz-1) Banner_sctr=0;
  if (document.images) {
   document.Banner.src=Banner_isn[Banner_sctr].src;
  } else {
   document.Banner.src=Banner_isn[Banner_sctr];
  }
  setTimeout("Banner_rotate()",Banner_timeout);
 }
}
function Banner_link(){
 Banner_halt=1;
 if (Banner_durl[Banner_sctr].length!=0)
location.href=Banner_durl[Banner_sctr];
}
function Banner_status(){ parent.window.status=Banner_durl[Banner_sctr];}
--></SCRIPT><!-- ACC <IMG
                             ID="PictureChanger5_101" HEIGHT=85 WIDTH=450
SRC="./showbanner1.gif" BORDER=0>
                             ACC --><A HREF="#"
onClick="Banner_link();return false" onMouseover="Banner_status();return
true;" onMouseout="parent.window.status='';return true;"><SCRIPT
LANGUAGE="JavaScript"><!--
 Banner_sctr=-1; if (Banner_rand==0) {Banner_sctr++;}
  else {Banner_sctr=Math.floor(Math.random()*Banner_imganz);}
 if (document.images) {
  document.write('<img src="'+Banner_isn[Banner_sctr].src+'" alt="Banner"
width=450 height=85 border=0 name=Banner></A>');
 } else {
  document.write('<img src="'+Banner_isn[Banner_sctr]+'" alt="Banner"
width=450 height=85 border=0 name=Banner></A>');
 }
 setTimeout("Banner_rotate()",Banner_timeout);// --></SCRIPT></TD>
                    </TR>

HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA