Solved

hide href in the window status

Posted on 2004-03-22
1
881 Views
Last Modified: 2008-02-01
is there a way to hide the "javascript:bla()" that display in the status bar
when mouse over the link?

something like that:


<script>
function noStatus()
{
      window.status = ""
}
</script>
<a href="javascript:bla()" onmouseover="noStatus()">fgfdgfd</a>
0
Comment
Question by:eladr
1 Comment
 
LVL 10

Accepted Solution

by:
Bustarooms earned 25 total points
ID: 10652007
you have to return true otherwise it wont work

<a href="javascript:bla()" onmouseover="noStatus();return true;">fgfdgfd</a>

also, you shouldn't use the "javascirpt:bla()" syntax.  proper coding is

<a href="#" onclick="bla();" onmouseover="noStatus()">fgfdgfd</a>
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I've been trying to accomplish this for a while and it just struck me yesterday how to accomplish this task. I have done searches all over the internet looking for ways to email pages from my applications and finally I have done it!!! Every single s…
In Part 1 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7849-Hex-Maze.html) we covered the hexagonal maze basics -- how the cells are represented in a JavaScript array and how the maze is displayed.  In this part, we'…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question