|
||||||||||||||||||||||||||||||
. |
|
Home Links and buttons Here Popup information box II All Credits: Description: Use these colorful popups to provide additional information about any link, inline and non intrusively as the mouse moves over the link. Cool, we say! Demo: Step 1: Insert the following stylesheet into the <head> section of your page: Step 2: Insert the below code into the <body> section of your page: Step 3: Finally, add the following inside any link that will contain a popup: ONMOUSEOVER="popup('Link description here','yellow')"; ONMOUSEOUT="kill()"where the first parameter inside popup() dictates the text to be displayed, and the second, the color of the box itself. Here are a couple of examples: <a href="http://wsabstract.com"
ONMOUSEOVER="popup('Website Abstraction, the definitive JavaScript site on the
net.','lightgreen')"; ONMOUSEOUT="kill()">Website Abstraction</a> Enjoy!
Recommend Us! Legend Copyright © 1998-2004 Dynamic Drive. Please read Terms Of Use here before using any of the scripts. Partners: JavaScript Tutorials | JavaScript Reference |