[javascript] marquee

hat jemand eine ahnung wie man ein prima marquee ( von
rechts nach links ) mit javascript programmieren koennte ??

vielen dank

patrick

Hallo Patrick!

hat jemand eine ahnung wie man ein prima marquee ( von
rechts nach links ) mit javascript programmieren koennte ??

\<!-- Hide the script from old browsers --
var timerID = null;
var timerRunning = false;
var id,pause=0,position=0;

function ticker() {
 var i,k,msg="YOUR MESSAGE GOES HERE";
 k=(75/msg.length)+1;
 for(i=0;i\<=k;i++) msg+=" "+msg;
 document.form2.ticker.value=msg.substring(position,position+75);
 if(position++==38) position=0;
 id=setTimeout("ticker()",1000/10); }

function action() {
 if(!pause) {
 clearTimeout(id);
 pause=1; }

 else {
 ticker();
 pause=0; } }
// --End Hiding Here --\>


...



...

Grüße, Tanja

vielen dank !
gruss
patrick