howa said the following on 2/17/2007 11:16 AM:
a traditional javascript usage such as
<a href="javascrip t:void(0)" onclick="xxx".. ..
or
<a href="javascrip t:doSomething() "
will both show the javascript link on the browser status bar...
Then don't use a javascript
: pseudo-protocol.
of course you can use onmouseover to set the status bar text...
Not really. Not anymore. Browsers are getting more and more offended by
authors changing the status bar text.
but you need to do on all the link....a little over kill....
You could do it with one loop in an onload of the body.
anyway recommended mehod?
<a href="someWhere UsefulForPeople WithoutScriptin g.html"
onclick="xxx;re turn false;">
If all you want is the onclick of some text, use a button or a span and
use the onclick event of that element. End of problem.
Hack:
<a href="This is status bar text" onclick="someFu nction();return false">
Want nothing in the status bar?
<a href="" onclick="someFu nction();return false">Link with no status bar
text</a>
--
Randy
Chance Favors The Prepared Mind
comp.lang.javas cript FAQ -
http://jibbering.com/faq/index.html
Javascript Best Practices -
http://www.JavascriptToolbox.com/bestpractices/