Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I hide hyperlinks??

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Awhile ago I encountered this pop-up that hides hyperlink address on the bottom of the IE.

Notice how a normal link shows up its link on the bottom of the IE. The one I encountered hides it. So instead of showing the link, it showed "Free Stuff".

I need help finding the code! Or if you happen to have it, please share the code.


Thanks!








 
Hi MoltenJava,

You should create a JavaScript function and put it in the head:
<script language=&quot;JavaScript&quot;><!--
function myStatus(text) {
status = text;
}
//--></script>

And then put something like that in the body:
<a href=&quot;&quot; onmouseover=&quot;myStatus('Test')&quot;>Test</a>

I hope this helps.
Cheers,

xso
 
Hey MoltenJava

The status bar can easily be removed on a popup window, much like the tool bars, address bar, etc. that's why it was probably hidden the time you saw it before.

You can also add a status bar text message using the following and will save you having to write JavaScript:

<a href=&quot;test.asp&quot; onmouseover=&quot;window.status='This is my text';return true;&quot; onmouseout=&quot;window.status='';return true;&quot; >Testlink</a>

However, if you click the link holding the left mouse button down before you release you still see the URL, but it's still useful for short help text, etc.

Hope this helps you out,
Craig
 
Oh, and you can add a status bar message on page load by adding this into the <head> tags...

<script language=&quot;JavaScript&quot;>
window.defaultStatus=&quot;Welcome to my website&quot;
</script>

Regards,
Craig
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top