| re: Status bar text script
Mickey wrote:[color=blue]
> Hi,
>
> I am jst writing to ask if anyone could help with this?
> I have a simple script to change the status bar text. This works fine
> in Internet Explorer.., but I can't get it to work for Firefox.
>
> I've pasted the script below, i'd really aprechiate it if anyone could
> help me out.
>
> Kind Regards,
> Mikey
>
> ***********************************************
> message = " testtesttesttesttesttest " +
> "testtesttesttesttest " +
> " testtesttest "
>
>
> scrollSpeed = 5
> lineDelay = 1000
>
> txt = ""
>
> function scrollText(pos) {
> if (message.charAt(pos) != '^') {
> txt = txt + message.charAt(pos)
> status = txt
> pauze = scrollSpeed
> }
> else {
> pauze = lineDelay
> txt = ""
> if (pos == message.length-1) pos = -1
> }
> pos++
> setTimeout("scrollText('"+pos+"')",pauze)
> }
>
> scrollText(0)
>
> ************************************************** ****
>[/color]
in firefox goto tools>options>web features>where it says enable
javascript click advanced>make sure allow scripts to: change status bar
text is checked [it is disabled as many users find this behaviour annoying] |