English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

5 answers

How to display a simple message when a user holds the mouse over to a link using Java Script?

2007-05-23 20:38:27 · answer #1 · answered by AnalProgrammer 7 · 1 0

If you want to show a standard tooltip message, just use the title attribute in the href. If you want to use a pop up dialog, then do an onmouseover to trigger an alert(); in javascript

2007-05-23 21:14:42 · answer #2 · answered by SoCalGuy777 2 · 0 0

It's this code for the alert:
link text

And here's a generator, if a tooltip was what you wanted:
http://javascript.internet.com/text-effects/dhtml-tooltip-generator.html

2007-05-23 20:28:02 · answer #3 · answered by alertcmail 2 · 0 0

I think what you were asking for were tooltips, and you can actually do this completely customizable in CSS.

Check out this website for reference.

http://psacake.com/web/jl.asp

2007-05-23 20:17:56 · answer #4 · answered by JamesH 1 · 0 0

man, its been forever since I've used javascript. but try something like my syntax might be off but that should get you started. or, try www.htmlgoodies.com they have all kinds of turorials.
-Duo

2007-05-23 20:12:35 · answer #5 · answered by Duo 5 · 0 0

fedest.com, questions and answers