To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here
I'm trying to get the status bar to display a custom message instead of the default thing when I mouseover an element but for some reason it keeps displaying the default message.
What am I doing wrong?
Ok, I'm not sure if any of these will work, but first, try returning true on the onmouseover event. If that still doesn't work, try using onMouseover with the capital M. Those are the only things I can think of.
EDIT: I just checked, and you have to return true. Change your code to this:
That works for me in Firefox. Are you sure you have Change Statusbar Text enabled under JavaScript options under content options?
__________________
"A proof is a proof. What kind of a proof? It's a proof. A proof is a proof. And when you have a good proof, it's because it's proven." -- Jean Chrétien
That's what it was... thanks.
Does IE and FF come preloaded with that feature turned off? If it does, I might as well do away with the whole feature on my site.
Thanks for the help Merve and FatalError. Sorry I didn't check it right away.
__________________
CPU, AGP, SQL, PHP.... what is this language those young people keep speaking? What does it all mean!?
Location: Rapid Offensive Unit "Foreign Object Damage"
Posts: 19,128
I think in Firefox it has been turned off by default for security reasons (phishing prevention).
You might as well do away with it; the status bar is for browser status messages. Why not use a title= attribute instead?
<a href="..." title="Open Picture">
__________________
On two occasions I have been asked [by Members of Parliament], "Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?" I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question.
I wanted to change the status bar because my href is kind of a nasty looking thing like this:
javascript:opener('pics/4.jpg', 300, 221)
and I would rather have something nice and clean like: 'Open Picture'
Is there an easy way to have the title appear immediately, instead after the normal delay?
__________________
CPU, AGP, SQL, PHP.... what is this language those young people keep speaking? What does it all mean!?
Last edited by michaewlewis; 03-18-2006 at 01:15 PM.
Reason: what's that smiley there for! :o