Boris: Ticker *verzweifel*

Hallo!

Ich habe auf meiner Seite (Clan-Seite für U*** Tourn***, erreichbar unter http://cum.ut-palace.de --> ACHTUNG! Noch mit VIVO-Plugin) ein Javascript eingebastelt, das mir unten in der Statuszeile eine Art Ticker anzeigen soll. Das Script schaut wie folgt aus:

***
[SNAP]

<script language="javascript">
<!--
var delay=30;
var nextm=0;
var msg=new Array
(
        'WelCuM to the Real World', 'Where nothing is as it seems...', '...where everything has its place...', '...and there is a place for everything...',  '...and anything can happen!' );
function start_ticker()
{
        do_ticker(msg[0], 0, 1);
}
function do_ticker(text, pos, dir)
{
        var out='<font face="Arial, Helvetica" color=darkyellow>[ <font color=#000000><strong><font size=-1>'+text.substring(0, pos)+'</font></font></strong> ]</font>';
        if(navigator.appName=="Netscape")
                with(document.ticker.document)
                {
                        open(); write(out); close();
                }
        else
                ticker.innerHTML=out;
        pos+=dir;
        if(pos>text.length)
                setTimeout('do_ticker("'+text+'",'+pos+','+(-dir)+')', delay*10);
        else
        {
                if(pos<0)
                {
                        if(++nextm>=msg.length)
                                nextm=0;
                        text=msg[nextm];
                        dir=-dir;
                }
                setTimeout('do_ticker("'+text+'",'+pos+','+dir+')', delay);
        }
}
// -->
</script>
</head>

[SNAP]
***

OK. Problem ist... das dud ned! Ich werde noch ganz Wuschig! Kann mir jemand helfen und vielleicht 'nen Tip geben, wo mein Fehler liegt????

THX in advance!
Boris

  1. yoo, würde mich auch ma interessieren *g* hab grad genau das gleiche problem!

  2. OK. Problem ist... das dud ned!

    </faq/#Q-07b>