Hide url in status bar

liunx

Guest
I have an image that links to another page in my web site.<br />
<br />
I want to set the status bar of the browser so that the user will never see it.<br />
<br />
I have used the following <br />
"function MM_displayStatusMsg(msgStr) { //v1.0<br />
status=msgStr;<br />
document.MM_returnValue = true;<br />
}"<br />
<br />
and then <br />
<br />
<a href=http://www.htmlforums.com/archive/index.php/"checkingtriple.htm"><img src="Images/crown.gif" width="68" height="71" border="0" onMouseOver="MM_displayStatusMsg('Testing one, two, three');return document.MM_returnValue"</a> <br />
<br />
It works fine when the user moves over the image but if they click on the image it shows the url.<br />
<br />
How do I get around this.<br />
<br />
Please help.<!--content-->use the same function for your onClick event.<br />
<br />
onClick="MM_displayStatusMsg('Testing one, two, three');return document.MM_returnValue"<!--content-->Thanks for the comments, but this does not help.<br />
<br />
If you click the link it still quickly shows the url.<br />
<br />
If you click and hold the link it shows the url.<br />
<br />
Is it possible to attempt what I am trying to do?<!--content-->why bother when I can go into the source and grab the url from it. although I think what doc said will be as close as you get.<!--content-->well, you can add the same event for onMouseUp/ down/ doubleClick and so on. I don't recall one for click and hold (though I think flash has one).<br />
<br />
lest we forget than unless your in frames, the user will see the address in the address bar when the page loads anyway. Is it really that horrid to show the address in the status bar?<!--content-->Thanks for the help Guys,<br />
<br />
I did add the mousedown, out, over, click, db click etc and still get the link showing.<br />
<br />
I am using frames so I suppose it is not the end of the world.<!--content-->What would help is if you added the url to the page or frameset with an active example so we can offer some more suggestions.<br />
Thanks<!--content-->
 
Back
Top