aparnesh 9 Junior Poster

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.