The background-color and color are set here to match the page:
Code:
if (document.all||document.getElementById){
document.write('<form name="bannerform">')
document.write('<input type="text" name="banner" size="'+tscroller_width+'"')
document.write(' style="background-color: '+document.bgColor+'; color: '+document.body.text+'; font-family: verdana; font-size: '+ts_fontsize+'; font-weight:bold; border: medium none" onfocus="blur()">')
document.write('</form>')
}
You can hard code your own preferences like so:
Code:
if (document.all||document.getElementById){
document.write('<form name="bannerform">')
document.write('<input type="text" name="banner" size="'+tscroller_width+'"')
document.write(' style="background-color: lightblue; color: navy; font-family: verdana; font-size: '+ts_fontsize+'; font-weight:bold; border: medium none" onfocus="blur()">')
document.write('</form>')
}
There are two speed vectors in the script. One is how long between each message and is represented by the two:
Code:
setTimeout("nextstep()",1000)}
statements. The larger this number, the longer the lag between messages. Both statements should be set to the same number. It represents milliseconds.
The other speed vector is how rapidly each letter gets banged out. It is set here:
Code:
setTimeout("animate()",25)}
Once again, the larger this number, the slower this vector will be.
Bookmarks