File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Pop up a message Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Pop up a message" Watch "Pop up a message" New topic

Pop up a message

Yongping Wang
Ranch Hand

Joined: May 15, 2001
Posts: 40
Hi, Dear everyone:
I have a question for you. I am just wondering if it is possible to pop up a message(just like in MS products) displaying some instruction when a cursor moves on a link (in a web page) but such message will be automatically gone if the cursor moves away. I appreciate it very much for any kind of help.
Have a nice weekend.
[This message has been edited by Yongping Wang (edited August 03, 2001).]
Fred Abbot
Ranch Hand

Joined: Jun 01, 2000
Posts: 300
Phil Hanna
Ranch Hand

Joined: Apr 05, 2001
Posts: 118
The HTML 4.01 specification suggests using the "title" attribute in the link:
<a href="" title="Big Blue">IBM</a>
This works in Internet Explorer 5.5: if you move the mouse over the link and stop, it displays the title text in a popup. Netscape 4.75 doesn't appear to do anything with it.
Phil Hanna
Sun Certified Programmer for the Java 2 Platform
Author of :
JSP: The Complete Reference
Instant Java Servlets

Phil Hanna<BR>Sun Certified Programmer for the Java 2 Platform<BR>Author of :<BR><A HREF="" TARGET=_blank rel="nofollow">JSP: The Complete Reference</A><BR><A HREF="" TARGET=_blank rel="nofollow">Instant Java Servlets</A>
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17417

Try doing a popup in JavaScript. I have something nice that way that I lifted from someone else's site.
Go to and mouse over the operating system names.

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: Pop up a message
It's not a secret anymore!