aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes tooltip for link Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "tooltip for link" Watch "tooltip for link" New topic
Author

tooltip for link

Randall Twede
Ranch Hand

Joined: Oct 21, 2000
Posts: 4347
    
    2

when i use images i can use alt in the image tag. how can i make a tooltip for a text link?


SCJP
Visit my download page
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
http://www.dynamicdrive.com/dynamicindex5/texttool.htm
there are other versions on the site too
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61657
    
  67

In IE you can use the "title" attribute.
hth,
bear


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Manish Hatwalne
Ranch Hand

Joined: Sep 22, 2001
Posts: 2579

title attribute works with both IE and Netscape 6/6.1.
<a href="somelink.html" title="This is a link t somewhere">A Link</a>
HTH,
- Manish
Randall Twede
Ranch Hand

Joined: Oct 21, 2000
Posts: 4347
    
    2

thanks, i will give title a try first
Randall Twede
Ranch Hand

Joined: Oct 21, 2000
Posts: 4347
    
    2

yeah thats good enough..it works in IE and Mozilla but not in netscape 4.7...they can figure things out without it anyway...just additional help
Yuriy Fuksenko
Ranch Hand

Joined: Feb 02, 2001
Posts: 413
Try to look at this article - it looks complicated, but works in NS. By the way, probably you could simplify the code a little bit.
http://www.faqts.com/knowledge_base/view.phtml/aid/2338/fid/128
Randall Twede
Ranch Hand

Joined: Oct 21, 2000
Posts: 4347
    
    2

well, i dont expect a lot of visitors and i dont think many people still use NS4.7 i just keep it around for testing purposes
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: tooltip for link