PDA

View Full Version : Can't stop my status bar text flickering?



Matrix
Jun 22nd, 2002, 02:44 PM
Hi all -

I have a status bar text (to hide all the ugly hover-references) that is static in a window, but it flickers periodically and when the user hovers over links.

Does anyone know how to make this completely static? I've seen it on a site ... but can't remember which (not v. useful hey?!).

Any help would be appreciated.

Thanks in advance.

requestcode
Jun 22nd, 2002, 05:49 PM
Could you post your code? It would help to see it.

ACJavascript
Jun 23rd, 2002, 12:32 AM
Will this script help??

http://www.acjavascripts.com/StatusBarLinkD.html


-------
You could also just do this

<script language="javascript">

function hoverEnds(){
window.status="NO HOVERS HERE!!!!"
}

</script>
<body onload="hoverEnds()">


<a href="whatever.html" onMouseOver="hoverEnds()">Click Me</a>


--------

Hope this was helpful :D:D

Matrix
Jun 24th, 2002, 12:14 PM
Thanks AC ...

This sets the status bar text for a specific action; what I'm looking for is how to set the status bar to something static and permanent so that no matter what you do, the status bar is always the same (and doesn't flicker, even on hover over other links).

I'll keep looking :)

ACJavascript
Jun 24th, 2002, 05:27 PM
you could tyr this

<script language="javascript">

function status(){

window.status="Whatever"

}
</script>
<body onload="status()">


then you also put this in the links

<a href="whatever.html" onMouseOver="status()">HELLO</a>


That should work :)

Matrix
Jun 25th, 2002, 03:22 PM
Hi AC .. yep, that sounds reasonable ... I'll give it a try & let you know how it goes. Hopefully by running the same JS that's already running from the onload, the constant flickering should go away ...

Thanks again:thumbsup: