...

View Full Version : Blind Links



ab1183
01-15-2003, 08:56 AM
I was wondering if anyone knew how to make a link so that on the bottom of the window is says somethign like "CLICK HERE NOW" instead of "http://www.whatever.com" Thanks in advance for you help.

redhead
01-15-2003, 09:18 AM
so it doesnt show the address in the status bar?

try this:

<a href="page.html" onmouseover="self.status='CLICK HERE NOW'; return true;" onmouseout="self.status=''; return true;">a link</a>

:thumbsup:

ab1183
01-15-2003, 09:38 AM
would that html be the same if the link was an image?

ronaldb66
01-15-2003, 10:34 AM
The javascript Redhead suggested handles events from the a element, so yes, it works regardless of the content of the a element, whether it be text or image.
Note to the side: not everyone is elated by custom messages in the status bar...

Catman
01-15-2003, 11:45 PM
Some screen readers, for example, will break from reading the page content, read what's on the status bar, and then go back to the page. Some folks might appreciate having that blanked out (though, of course, they can just turn the darn thing off ...)

ab1183
01-16-2003, 06:20 AM
thanks a lot!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum