PDA

View Full Version : Looking for a script



bl4ck4dd3r
10-25-2005, 12:28 AM
I have searched and tried many scripts from places far and wide including here but so far haven't managed to find one that works well with my little site.

I need a script that when the mouse moves over a link it will display a tooltip that is in a close relative position to the pointer but remains static, this is because the content of the tooltip needs to be html, particularly more links and the pointer needs to be able to move into the tooltip.
the html is all generated in php and is dynamic so i need a means of passing that to the script rather than it being defined within the script.

while developing my code I have been using the excellent Cool DHTML tooltip (http://www.dynamicdrive.com/dynamicindex5/dhtmltooltip.htm) but although the html is passed as a variable the popup is always in a postition relative to the pointer and hence is unsuitable for containing links.

any pointers to off the shelf scripts that may do the job would be very much appreciated ( I can code php until the cows come home but i'm afraid my js skills are non existant )

many thanks in advance for any help you may be able to give.





p.s.
one detail i left out which bears consideration is that the project may have several hundred small links in close proximity ( it is a game ) and because of this some of the scripts i have tried have been unsuitable due to the fact that navigating into the tooltip box has meant the mouse pointer has crossed another link and changed the popup's content , so it is really important that the popup is placed as close to the pointer as possible to remove the chance of straying onto another link

mattster
10-25-2005, 12:05 PM
This one should do the job!

http://www.dynamicdrive.com/dynamicindex5/texttool.htm

bl4ck4dd3r
10-25-2005, 10:31 PM
unfortunately this one moves with the mouse and so you can't actually select any links within it.

almost, but not quite i'm sorry to say.

i have found one that looks promising from walter zorn

ddadmin
10-26-2005, 06:35 AM
I think what you need is the Fixed Tooltip script: http://www.dynamicdrive.com/dynamicindex5/fixedtooltip.htm