answersLogoWhite

0

Wrote this a few years ago, just paste it in the head or import it from a js file.

pretty self explanatory

<script language="JavaScript">

//Author: fjhdehoog

//Scriptname: Slide in status

var MyStatus='This is an example of how to use javascript to make a scrolling status text';

var start_status=1000; //start in 1 sec

var TBD=100; //Time Btween Digits 1000 = 1 Sec

var LoopIt=1; // 0= dont loop -- 1= loop

var DFSF=10000; //Display full status for 10 Sec /*------------------------------------------*/

setTimeout('ScrollStatus()',start_status); //comment this line out if u want to use body onload or window.onload

CurNum=MyStatus.length;

function ScrollStatus(){

window.status=MyStatus.substring(CurNum);

if (CurNum!=0) {

CurNum--;

setTimeout('ScrollStatus()',TBD); }

else

{

if (LoopIt) {CurNum=MyStatus.length;

setTimeout('ScrollStatus()',DFSF);} else { /*do Nothing*/ } } }

</script>

User Avatar

Wiki User

10y ago

What else can I help you with?

Related Questions

Write a note on control status registers and program status word?

yar pls koi to answer likkhooo...


What is the program status word and explain it?

This register contains the condition code bits, witch are set by comparison instructions, the CPU priority, the mode (user or kernel), and various other control bits. User programs may normally read the entire Program Status Word but typically may write only some of its fields. The Program Status Word plays an important role in system calls and I/O.


How to write program for secant method in mathematica?

How to write a program for secant method by mathematica


How do you write Square program using vb?

write a vb program to find the magic square


Write a program to multiply 33 matrix.?

write a program to multily 3*3 matrix.


Write a program in Lex to eliminate white space and collect numbers as a token?

write a lex program to delete space from the program


How do you write flag status in program?

for example:int flag= 0; /* 0/1 = unset/set */...printf ("flag=%d which means %s\n", flag, flag? "set": "unset");


How do you write the father's status in a curriculum vitae when he was die?

You just write 'deceased'.


Write a program to create a maze?

this is to write or create


Write a program to illustrate the usage of pointers with arrarys and functions?

* * * * * * * * * * write the c++ program and show me brifily?


Write a sample program using ASPNET explaining all the syntax and semantics of the program?

write a sample program using asp.net explaining all the syntax and semantics of the program


Where do we write main function in a c program?

Into the source program.