Results 1 to 2 of 2

Thread: Cool DHTML Tooltip

  1. #1
    Join Date
    May 2006
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Cool DHTML Tooltip

    Hello,

    I use this code, I want "colorize" the first line ("miche de pain" here) in my tooltip and this doesn't work.
    Can you help me to understand this.

    Thanks in advance

    <td width="24" height="24"><img src="food_17.png" width="24" height="24" onmouseover="ddrivetip('<class = \"whitename\"> miche de pain</class> <br /> <b>Niveau requis : </b> <br /> <b>Talent requis : </b> <br /><br /> ','black', 300)" onmouseout="hideddrivetip()" /></td>

    Of course I define class name between <head> and </head>
    <style type="text/css">
    .greyname {color: #9d9d9d; }
    .whitename {color: #FFFFFF;}
    </style>
    Last edited by fredza801; 05-20-2006 at 06:43 PM.

  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

    Try:

    Code:
    ddrivetip('<span class=\'whitename\'> miche de pain</span> <br /> <b>Niveau requis : </b> <br /> <b>Talent requis : </b> <br /><br /> ','black', 300)
    - 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
  •