Results 1 to 4 of 4

Thread: DHTML tooltip script II - make stationary?

  1. #1
    Join Date
    Apr 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default DHTML tooltip script II - make stationary?

    I am using DHTML tooltip script II http://www.dynamicdrive.com/dynamici...mltooltip2.htm

    How do I make it so the tooltip once open doesnt follow the mouse?

    right now im using it with an image

    <img src="someimage.jpg" onClick="return ddrivetip('description of image')">

    and I will add a hide link inside the tooltip but currently wherever the mouse goes so does the tooltip so it makes it impossible to hide it
    Last edited by dexodus; 04-11-2005 at 09:44 AM.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    add:

    Code:
    onMouseout="hideddrivetip()
    to your image tag, that way when you move off of the image it will dissapear.
    - John
    ________________________

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

  3. #3
    Join Date
    Apr 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by jscheuer1
    add:

    Code:
    onMouseout="hideddrivetip()
    to your image tag, that way when you move off of the image it will dissapear.

    Sorry maybe I explained it wrong..


    I added it to an onclick so it would popup the box now the box will follow the box will follow the mouse around the entire page I want the box to open and stay where it opens

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    No, I got that but, with that script, it is about the best you can do. Try this script:

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

    especially the 'sticky' style tip it has.
    - John
    ________________________

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

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
  •