DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/)
-   JavaScript / DHTML / AJAX (http://www.daniweb.com/forums/forum117.html)
-   -   Status Bar Message Problem (http://www.daniweb.com/forums/thread40697.html)

aparnesh Mar 8th, 2006 2:32 am
Status Bar Message Problem
 
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


All times are GMT -4. The time now is 9:17 am.

Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC