#fcleft">




This is the first of a series of banners that I will make using DHTML. This format is a lot better than the other banner because it appears as regular text on the screen. In this script, text appears on the screen in a typewriter-style rolling. This is very eye catching and extremely customizable. Be very sure to check out the color coding at the end. Also, be sure to place the whole code in the section where you would like your ticker to be on the page.
The source..


<script language="Javascript1.2"> 
<!--
// please keep these lines on when you copy the source
// made by: Nicolas - http://www.javascript-page.com

var tags_before_clock = "<big>";
var tags_after_clock  = "</big>";
var speed = 100;
var speed2 = 2000;

function initArray() {

this.length = initArray.arguments.length;
  for (var i = 0; i < this.length; i++) {
  this[i] = initArray.arguments[i];
  }
}

var mymessage = new initArray(
"This is the Typewriter Ticker.",
"It looks a lot cooler than the banners.",
"Be sure to check out the color coding so you can configure this.",
"This is really easy to conform to your page."
);

var mymessage2 = mymessage;
var x = 0;
var y = 0;

if(navigator.appName == "Netscape") {
document.write('<layer id="ticker"></layer><br>');
}

if (navigator.appVersion.indexOf("MSIE") != -1){
document.write('<span id="ticker"></span><br>');
}

function upticker(){ 

if (y > mymessage2.length - 1) {
  y = 0;
  setTimeout("upticker()",speed);
}

else{

  if (x > mymessage2[y].length) {
    mymessage = mymessage2[y]; 
    x = 0; y++;
    setTimeout("upticker()",speed2);
  }

  else {
    mymessage = mymessage2[y].substring(0,x++);
    setTimeout("upticker()",speed);
  }

  if(navigator.appName == "Netscape") {
    document.ticker.document.write(tags_before_clock+mymessage+tags_after_clock);
    document.ticker.document.close();
  }

  if (navigator.appVersion.indexOf("MSIE") != -1){
    ticker.innerHTML = tags_before_clock+mymessage+tags_after_clock;
  }
}
} 

setTimeout("upticker()",speed);
//-->
</script>


Color coding..


If you want to customize your text in any way (color, size, center, etc.), put in the appropriate beginning and ending HTML tags in these two sections.
The "speed" variable is the time in milliseconds that each new letter is added in. The "speed2" variable is the waiting time 'till the next phrase after all the text has been displayed.
These are all the text phrases that you wish to display. Each phrase is stated "Your Phrase", . You can add and remove phrase by following that proceedure.

20mb free space at fortune city
This banner was supplied by SAFE Audit