Solved

ALT for HREF?

Posted on 1997-08-26
2
2,529 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 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
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…

821 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