Below javascript code can be pasted on any web form for building a Marquee /
Ticker Tape with the help of Javascript. This avoids creating a Java Applet.
Note*: Remember to Assign this code to "HTML" Style in Text Property.
<SCRIPT>
var Count = 0;
var Text = " Welcome To The Online Training Manual Application. ";
//scroll();
function scroll() {
//window.status = Text.substring (Count, Text.length) + Text.substring
(0, Count++)
document.scroll.stext.value = Text.substring (Count, Text.length) +
Text.substring (0, Count++)
if (Count >= Text.length) Count = 0;
setTimeout ("scroll()", 333); // 333 is minimum delay for NS 2.0
}
</SCRIPT>
<BODY onLoad="scroll()">
<FORM NAME="scroll">
<INPUT TYPE="text" NAME="stext" SIZE=75 >
</FORM>
</BODY>
Requires Free Membership to View
Register today to access targeted resources from our editorial writers and independent industry experts focused on Lotus Domino, Notes, Workplace and other related technologies.
This was first published in November 2000