Ancient Future Designs
Ancient Future Designs
Scrolling Text Bar

If you haven't already noticed, look in the status bar at the bottom of your page.
This is a simple little script that can be altered with ease. You need to add the first part to the <HEAD> of your page and the second part to the <BODY> of your page.
Here's the script for the <HEAD>...

<SCRIPT LANGUAGE="JavaScript">
<!-- Hide this script from old browsers --
var init_msg = "Welcome to Ancient Future Designs"
var str = ""
var msg = ""
var leftmsg = ""
function setMessage() {
if (msg == "") {
str = " "
msg = init_msg
leftmsg = ""
}
if (str.length == 1) {
while (msg.substring(0, 1) == " ") {
leftmsg = leftmsg + str
str = msg.substring(0, 1)
msg = msg.substring(1, msg.length)
}
leftmsg = leftmsg + str
str = msg.substring(0, 1)
msg = msg.substring(1, msg.length)
for (var ii = 0; ii < 120; ii++) {
str = " " + str
}
}
else {
str = str.substring(10, str.length) // decrease str little by little
}
window.status = leftmsg + str
setTimeout('setMessage()',10)
}
// -->
</SCRIPT>
 
Then the second part of the script goes inside the  <BODY> of your page.

Here's the script... 
<BODY ONLOAD="setTimeout('setMessage()',1)">

<!-- END OF SCRIPT -->
 
The only thing you need to alter is at the top of the first script where it says "Welcome to Ancient Future Designs".

Just put in the text you want viewed.