Results 1 to 5 of 5

Thread: Image w/ Description - Remove Description?

  1. #1
    Join Date
    Sep 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Image w/ Description - Remove Description?

    1) Script Title: Image w/ description tooltip

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...agetooltip.htm

    3) Describe problem: I'm trying to completely remove the tooltip and and part of the borders/background, although keep running into problems on my own. Not a big JS guru =) Anyone know how to do this?

  2. #2
    Join Date
    Aug 2004
    Posts
    9,895
    Thanks
    3
    Thanked 967 Times in 955 Posts
    Blog Entries
    15

    Default

    Do you mean remove the text portion of the tooltip? You can do so within the array holding the tooltips:

    Code:
    messages[0] = new Array('red_balloon.gif','Here is a red balloon on a white background',"#FFFFFF");
    Emptying the 2nd parameter so it's just a empty string ('') should do it.

  3. #3
    Join Date
    Sep 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    There's still some background behind the image. I'm trying to get rid of the part of the script that has the "tip" because it won't let me manually turn that off.

  4. #4
    Join Date
    Aug 2004
    Posts
    9,895
    Thanks
    3
    Thanked 967 Times in 955 Posts
    Blog Entries
    15

    Default

    If you're talking about making the background of the tooltip transparent, you can do that as well within each tooltip array element:

    Code:
    messages[0] = new Array('test.gif','',"transparent");

  5. #5
    Join Date
    Sep 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Works great, thank you

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
  •