Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mouseover question - script

Status
Not open for further replies.

MollyB

Programmer
Feb 2, 2003
7
0
0
US
I copied the below as it was instructed thru dynamicdrive.com to put this as a part of the <head></head>:

/////////////////////// CUSTOMIZE HERE ////////////////////
// settings for tooltip
// Do you want tip to move when mouse moves over link?
var tipFollowMouse= true;
// Be sure to set tipWidth wide enough for widest image
var tipWidth= 160;
var offX= 20; // how far from mouse to show tip
var offY= 12;
var tipFontFamily= &quot;Verdana, arial, helvetica, sans-serif&quot;;
var tipFontSize= &quot;8pt&quot;;

I'm trying to have a text box (tooltip) appear just before clicking on the link. I wonder what &quot;settings&quot; mean in the above for &quot;settings for tooltip?&quot; Also, how would I fill in the question above //how far from mouse to show tip?? I want it to be right on the gif image.

Any suggestions? This particular mouseover I found most difficult. Any help is greatly appreciated.

TIA~ Molly B
 
you could simplify things if you only want a tooltip use :

<a href=&quot;href&quot; title=&quot;here the text content of your tooltip&quot;>link</a> Gary Haran
 
Thanks! What if a wanted a small image to appear in the text box? How would I code that?

TIA! MollyB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top