|
| |
|
|
Xenon
Posts: 44 Joined: 12/8/2003 From: Madrid, Spain Status: offline
|
Hiding a Javascript link in the status bar - 1/14/2004 16:42:12
I am starting with JavaScript now because it seems to be much more powerful than HTML. My question is: If I've got a link which runs a JavaScript, how can you hide it from being shown, at the bottom of the page? (At the status bar) The page is at: http://balearicus.com/fotos/fotos.htm Put the mouse over the link "Fotos del cole" and look in the status bar. Thanks, XeNoN
|
|
|
|
Peppergal
Posts: 2207 Joined: 9/20/2002 Status: offline
|
RE: Hiding a Javascript link in the status bar - 1/14/2004 17:27:48
You'd be better off spending your energy learning Cascading Style Sheets. Javascript is nice for some bells and whistles, but building a site based on it will alienate the many people who have Javascripting turned off in their browsers. And I - like many others- don't like it when people mess with MY status bar. I don't return to sites that mess with my windows or turn off my functions (removing my navigation buttons, resizing, no right click, etc.) Not a good idea!
_____________________________
Northeast PA / Poconos/ Lake Wallenpaupack Real Estate wallenpaupacklakeproperty.com Karen's Real Estate Blog
|
|
|
|
AMysticWeb
Posts: 855 Joined: 10/23/2002 Status: offline
|
RE: Hiding a Javascript link in the status bar - 1/15/2004 1:51:10
Hi XeNoN , Peppergal has a very good point about tampering with the status bar. I don't like this myself. But, if you must do something, I think it would be more acceptable to do a status bar message instead of masking the links. Java Status Bar Link Message <A HREF="http://frontpag.bizland.com" onMouseOver="window.status='Visit FrontPageForms for easy to use Form Tutorials.'; return true">FrontPageForms</A> If you absolutely must mask links ... This script will mask specific links ... which would take care of the specific link you were concerned with while leaving the rest alone. http://javascriptkit.com/script/script2/hidestatus.shtml This one hides status for all links on page ... which will likely PO many visitors. http://javascriptkit.com/script/script2/hidestatus2.shtml
< Message edited by AMysticWeb -- 1/15/2004 1:52:08 >
_____________________________
Hope I have been of some help, Micheal [URL=http://web.archive.org/web/20060101013129/http://www.frontpageforms.com/]FrontPageForms.com-Archive Version[/URL] I am living Proof that Viral Procrastination exists!
|
|
|
|
Giomanach
Posts: 6129 Joined: 11/19/2003 From: England Status: offline
|
RE: Hiding a Javascript link in the status bar - 1/15/2004 5:50:16
<script language="JavaScript"> function s_display(s_message){ status=s_message; return true; } function s_clear(){ status=""; return true; } </script> then on the links make them look like this: <a href="page.htm" onMouseOver='return s_display("Your Message Here");' onMouseOut='return s_clear();'>Your Link</a> Thats how I do it
< Message edited by Giomanach -- 1/15/2004 10:50:38 >
_____________________________
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|