Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Removing status bar messages 1

Status
Not open for further replies.

iao

Programmer
Feb 23, 2001
111
US
I am administering a site where if any user hovers over any of the hot links, the path of the link appears in the status bar. I would like to get rid of all status bar messages that occur when hovering over any links. To do this, I used the following code:

onMouseOver="MM_displayStatusMsg('');return document.MM_returnValue"

Sure enough, that worked like a charm for almost all cases, but one. On the web page, I have a couple of links that are not really hot links, but bitmap images where if the user clicks on them, they act like hot links. There are four of them, and the code is as follows:

<!-- Begin Image Map Area -->
<map name=&quot;products_Map&quot;>
<area shape=&quot;rect&quot; alt=&quot;Products&quot; coords=&quot;66,10,282,34&quot; href=&quot;products/&quot;
onmouseover=&quot;changeImages('products', 'images/main/products-over.jpg'); return true;&quot;
onmouseout=&quot;changeImages('products', 'images/main/products.jpg'); return true;&quot;>
</map>

For some reason, no matter where I put the code to remove the status bar message, I can't get rid of it. I tried placing the code in various places within the Map tag but to no avail. Any ideas on what I am doing wrong, or what I can try?

Thanks!
 
use something like this
<a href=&quot;&quot; onMouseOver=&quot;(window.status=''); return true&quot;> A language that doesn't affect the way you think about programming is not worth knowing.
admin@onpntwebdesigns.com
 
you should be able to jsut do this in the second example you have with the image map
<!-- Begin Image Map Area -->
<map name=&quot;products_Map&quot;>
<area shape=&quot;rect&quot; alt=&quot;Products&quot; coords=&quot;66,10,282,34&quot; href=&quot;products/&quot;
onmouseover=&quot;changeImages('products', 'images/main/products-over.jpg');(window.status=''); return true;&quot;
onmouseout=&quot;changeImages('products', 'images/main/products.jpg'); return true;&quot;>
</map>
A language that doesn't affect the way you think about programming is not worth knowing.
admin@onpntwebdesigns.com
 
Ok great. I will give it a shot. Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top