Script Categories

Scrolls >>> Textarea Scroller.

Saves a great deal of space on a page by displaying an infinite amount of news, updates, or other information to your site's visitors in a textarea box through a typewriter style display. Internet Explorer users can also see a colored background in the textarea. The size of the textarea and the messages are all customizable.

Add the below code to the <body> section of your page:

<script language="javascript" type="text/javascript">
/* Visit for full source code
and get more free JavaScript, CSS and DHTML scripts! */
<!-- Begin
var max=0;
function textlist() {
for (i=0; i<max; i++)
tl = new textlist(
"This is the newsticker. Great for giving visitors information. And lot's of it.",
"Infinite lines to write on, and an easy configuration - overall it's a breeze :-)",
"You can configure the messages and the size of the textarea, neat!",
"Internet Explorers can also see our newsticker backround and text color. But that will probably only work with IE.",
"Signed Tarjei Davidsen; StG member."

var x = 0; pos = 0;
var l = tl[0].length;
function textticker() {
document.tickform.tickfield.value = tl[x].substring(0, pos) + "_";
if(pos++ == l) {
pos = 0;
setTimeout("textticker()", 2000);
if(++x == max) x = 0;
l = tl[x].length;
setTimeout("textticker()", 50);
window.onload = textticker;
//  End -->
<form name=tickform>
name=tickfield rows=3 cols=38 style="background-color: rgb(0,0,0); color: rgb(255,255,255); cursor: default; font-family: Arial; font-size: 12px" wrap=virtual>The news will appear here when the page has finished loading.</textarea>

JavaScript Editor Get Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.

Code was highlighted by 1st JavaScript Editor (The Best JavaScript Editor!).