PDA

View Full Version : Image w/ description tooltip v2.0 cursor offset.



link2link
01-18-2012, 09:28 PM
1) Script Title: Image w/ description tooltip v2.0


2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/imagetooltip.htm

3) Describe problem:

The script works great. Currently the image is positioned as an offset from the cursor position:


tooltipoffsets: [20, -30], //additional x and y offset from mouse cursor for tooltips

What I would like to accomplish is to position the images at a specific location. Or evaluate a variable (possibly imgtip) and use a different xy offset based on the menu item.

Thank you for any insight you can provide.

link2link
01-18-2012, 11:41 PM
I found I could accomplish what I needed by modifying the positiontooltip function. Thanks to anyone that may have looked into this for me.