Script Categories













Scrolls >>> Textbox.

This is another version of the infamous scroll. Although, this one scrolls your information in a text box and is far less annoying that most of the status bar scrollers.

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

<script language="javascript" type="text/javascript">
/* Visit http://www.yaldex.com/ for full source code
and get more free JavaScript, CSS and DHTML scripts! */
<!-- Begin
var display_text  = "Here is the common scroll  -  except, "
+ " this one runs in a text box rather than the status bar. "
+ " There is more cool stuff like this on TJS !!  "
var display_text;
var place;
var meter;
var out = " ";
var place = 50;
function scroll_text() {
for (meter = 0; meter < place; meter++) {
out += " "}
if (place >= 0)
out += display_text
else out = display_text.substring(-place,display_text.length)
document.scroll_form.field.value = out
out
= " "
place--
if (place < -(display_text.length)) {
place = 50
}
setTimeout('scroll_text()',100)
}
// End -->
</script>
<FORM NAME="scroll_form">
<input
type="button" name="button_one" value="Start" onClick="scroll_text()">
<input
type="text" name="field" size="50">
</FORM>

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!).

http://www.cashadvance-loans.net/tennessee/cash-advance-smyrna-tn/


©