Solved

ALT for HREF?

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
iframe detection of parent window scale 20 60
Basic JavaScript Question 3 38
Getting Column Height to Match Other Column 5 44
Change text to radio button and calendar form 2 32
Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
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…

910 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now