Home » Web Development » JavaScript » View Tutorial

JavaScript Tutorial: Hide Status Bar Message in the Internet Browser using Javascript

jawahar  Send Private Message
1/22/2008 1:23:06 AM, Views: 3704
W3Optimizer Online SEO. Top Search Engine Rankings
The below code can be used to hide status bar message that appears in the internet browser, when the mouse is moved over any link.

Code 1: Hide Status Bar Message of a specific link in a web page

<html>
<head>
<title>Untitled Document</title>
<script language="javascript" type="text/javascript">
var statusbar_message=""
function fn_hidemessage()
{
   window.status=statusbar_message
   return true
}
</script>
</head>
<body>
<a href="http://www.expertsforge.com" onMouseover="return fn_hidemessage()">Hide Status Bar Message</a>
</body>
</html>


Code 2: Hide Status Bar Message of all links in a web page

<html>
<head>
<title>Untitled Document</title>
<script language="javascript" type="text/javascript">
var statusbar_message=""
function fn_hidemessage()
{
window.status=statusbar_message
return true
}

if (document.layers)
document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT)
document.onmouseover=fn_hidemessage
document.onmouseout=fn_hidemessage
</script>
</head>
<body>
<a href="http://www.expertsforge.com">Hide Status Bar Message</a>
</body>
</html>

Bookmark to: Yahoo Bookmark to: WinLive Bookmark to: Digg Bookmark to: Del.icio.us Bookmark to: Facebook Bookmark to: Reddit Bookmark to: Simpy Bookmark to: StumbleUpon Bookmark to: Slashdot Bookmark to: Propeller Bookmark to: Furl Bookmark to: Spurl Bookmark to: Google Bookmark to: Blinklist Bookmark to: Technorati Bookmark to: Newsvine Bookmark to: Blinkbits Bookmark to: Netvouz

Article Rating
Rating: 3.5 out of 5(7 votes)
Your Ad Here
Signup / Login To View the Solution or Provide Comments
Post your reply
Bold Italic Link Code Convert HTML tags

[bold] for <b> ; [/bold] for </b> ; [italic] for <i> ; [/italic] for </i> ; [code] & [/code] for code