Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

ALT for HREF?

Posted on 1997-08-26
2
Medium Priority
?
2,534 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
2 Comments
 
LVL 1

Accepted Solution

by:
leeal earned 200 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

This article discusses four methods for overlaying images in a container on a web page
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.
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…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

916 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