This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Pop up a message" Watch "Pop up a message" New topic
Author

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.
Yongping
[This message has been edited by Yongping Wang (edited August 03, 2001).]
Fred Abbot
Ranch Hand

Joined: Jun 01, 2000
Posts: 300
ToolTip?
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="http://www.ibm.com" 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="http://www.amazon.com/exec/obidos/ASIN/0072127686/electricporkchop/107-3548162-1137317" TARGET=_blank rel="nofollow">JSP: The Complete Reference</A><BR><A HREF="http://www.amazon.com/exec/obidos/ASIN/0072124253/electricporkchop/107-3548162-1137317" TARGET=_blank rel="nofollow">Instant Java Servlets</A>
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15958
    
  19

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


Customer surveys are for companies who didn't pay proper attention to begin with.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Pop up a message
 
Similar Threads
a question in stacks
File field content
Need help to convert from Con List to Link List
Can't run a ejb client, please help
Download objects(picts, mp3, etc) with URL class