944,091 Members | Top Members by Rank

Ad:
Mar 8th, 2006
0

Status Bar Message Problem

Expand Post »
I am using an image map on my site. Clicking on the image will activate a javascript function. When the mouse is over the image, the status bar show "javascript: <function_name>". I want the status bar to be cleared.

I used

<IMAGE SRC="MyPic.jpg" USEMAP="#ImgMap" BORDER=0 onmouseover=ShowBlankMsg() onmouseout=ShowBlankMsg()>

The ShowBlankMsg is

function ShowBlankMsg() {
window.status = ' ';
return false;
}

But the status bar continues to show the "javascript:..." line in both FireFox & IE. What am I doing wrong ?

Also in IE, after clicking the image, the selected area is highlighted by a dotted border. How can I disable that ?

Thanx
Similar Threads
Reputation Points: 20
Solved Threads: 10
Junior Poster
aparnesh is offline Offline
193 posts
since Jul 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in JavaScript / DHTML / AJAX Forum Timeline: Design for A4 printing HTML report - Pg Break?
Next Thread in JavaScript / DHTML / AJAX Forum Timeline: How to close IE without a user dialog box?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC