Best Download Sites Login
Site Login

Teletype Scroller

Description
Use Javascript to type text across the screen and then scroll it off the page while it fades like a teletype scroller. Add as many messages as you need....View A Script Demo


Do you find it confusing setting up these script?
Java Scripts Magic can do all the hard work for you all At The Touch Of A Button.


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<LINK href="general.css" rel="stylesheet" type="text/css">

<STYLE>
.telestyle {
position:absolute;
visibility:visible;
font-size:8pt;
font-family:Arial;
font-weight:normal;
color:#000066;
top:300px;
left: 60px;
height: 32px;
width: 500px;
filter:alpha(opacity=100);
}
</STYLE>
<SCRIPT LANGUAGE="JavaScript">
<!-- Original:  John O'Brien ( This e-mail address is being protected from spambots. You need JavaScript enabled to view it ) -->
<!-- Web Site:  http://www.lis.net.au/~obrien -->




<!-- Begin
var message = "Try this script today!"
var character = 0;
var to_print = "";
var ypos = 300;
var next = 0 ;
var fade = 100 ;
var next_message = new Array() ;
next_message[0] = "The JavaScript Source"
next_message[1] = "Is your site slow...uninteresting...static? JavaScript™ can bring your pages to life!"
next_message[2] = "Add this script to your site!"
next_message[3] = "Do your pages take an age to load?"
next_message[4] = "Try this script today!"
function doText(text) {
if (document.all) {
if (character <= text.length - 1) {
to_print += text.charAt(character);
teletext.innerHTML = to_print;
character++;
}
else
scrollIt();
}
setTimeout("doText(message)", 100);
}
function scrollIt() {
if (ypos >= 260) {
ypos -= 1;
fade -= 4;
if (ypos < 265) {
teletext.innerHTML = "" ;
   }
}
else {
ypos = 300;
character = 0;
to_print = "";
nextMessage();
fade = 100;
}
teletext.style.top = ypos;
teletext.filters.alpha.opacity = fade;
}
function nextMessage() {
message = next_message[next]
if (next == 4) {
next = 0;
}
else
next++;
}
//  End -->
</script>

</HEAD>

<BODY Background=../graphics/grayback.jpg onLoad="doText(message)">
<center><BR><BR><BR>
<DIV ID=teletext CLASS="telestyle">
</DIV>

</center>
</BODY>
</HTML>

Business Proposal If you have a Business Proposal that you think may be of interest to us here at Best Download Sites please contact us to discuss the matter in further detail