Wednesday, December 21, 2011

Describe your links

As you point to links on a web page, most browsers will display the address which that link points to on the status bar. Boring? Well, why not add some spice to your pages by describing your links?
All you have to do is add "OnMouseOver" tag (or event) to your anchor in the following format:
OnMouseOver = "window.status='description'; return true;"
For example, if your original anchor tag looks like:
<A href="/home.html">
change it to:
<A href="/home.html" OnMouseOver="window.status='Go to my home page...'; return true;">
NOTE: Since OnMouseOver is a JavaScript event, your description will only appear on JavaScript enabled browsers such as Netscape 2.x+ and Explorer 3.x. Other browsers will simply ignore this tag.

0 comments:

Post a Comment

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Best Web Hosting