PDA

View Full Version : Resolved add close button/text to sticky tooltip



scripthelpy
01-09-2011, 03:29 AM
aaaaa

jscheuer1
01-09-2011, 02:00 PM
I'm not sure why you would want that. Is it because if someone clicks outside the sticky to close it, and that click happens to be on a link, not only does the sticky close, but also the page navigates away to the linked page?

Anyways, the reason I ask is that I found that and a few other things with this script that could use updating, see:

http://www.dynamicdrive.com/forums/blog.php?b=48

You really should update to that anyway.

If you still want the kind of functionality you're asking for in your post, there's too much code that would have to be jammed into that one line, use this modified version of my modified version of the script instead:

3709

Your closer will have a class of "closer" and can be styled in the stylesheet, for example:


.stickytooltip .closer {
color: yellow;
}

scripthelpy
01-09-2011, 02:09 PM
Thanks so much John! it works great in all browsers!!