Solved

ALT for HREF?

Posted on 1997-08-26
2
2,532 Views
Last Modified: 2006-11-17
On mouse over, I'd like a description for an href link.  As a work around, I've created an image that looks like a href link, and used ALT to put in a description.

Is there a cleaner, slicker, way of doing this in html?
0
Comment
Question by:dgardner
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 1

Accepted Solution

by:
leeal earned 100 total points
ID: 1838540
You need to use a little javascript.
Here is an example.

<A HREF="whatever.html" onMouseOver="window.status='Description'; return true;" onMouseOut="window.status='';return true;">Hello, how are you?</A>

When your mouse is over the link, 'Description' will appear on the status bar. When you move the mouse out the link, it'll display '' (nothing) on the status bar.

0
 

Author Comment

by:dgardner
ID: 1838541
That works great! Thank you.
0

Featured Post

[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question