PDA

View Full Version : Positioning Problems for Fixed Tooltip script



Mng026
05-08-2008, 01:20 AM
1) Script Title: Fixed Tooltip script

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex5/fixedtooltip.htm

3) Describe problem: I see the irony of of my title, trying to position a fixed tool tip. However, it does appear possible! :) But for some reason -- it is not working for me. These two variables are built into the script but don't appear to move the tooltip at all:

var vertical_offset="-50px" //horizontal offset of tooltip from anchor link
var horizontal_offset="-30px" //horizontal offset of tooltip from anchor link

I am trying to make the tooltip appear to the left of the link, any thoughts? Thanks a bunch,

Mike

Medyman
05-08-2008, 01:23 AM
Have you correctly applied the CSS? Without those CSS declerations, the offsets won't do much.

Mng026
05-08-2008, 01:26 AM
Thanks for the quick reply Medyman, Yes I copied the CSS into the <head> of my page.