Solved

ALT for HREF?

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

785 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