Results 1 to 3 of 3

Thread: add close button/text to sticky tooltip

  1. #1
    Join Date
    Jan 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Red face add close button/text to sticky tooltip

    aaaaa
    Last edited by scripthelpy; 01-10-2011 at 07:32 AM.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    28,925
    Thanks
    43
    Thanked 3,190 Times in 3,154 Posts
    Blog Entries
    12

    Default

    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:

    Attachment 3709

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

    Code:
    .stickytooltip .closer {
    	color: yellow;
    }
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Jan 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks so much John! it works great in all browsers!!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •