Results 1 to 5 of 5

Thread: Opacity in the Tooltip code

  1. #1
    Join Date
    Mar 2005
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Red face Opacity in the Tooltip code

    How do you control the opacity in the Cool DHTML tooltip code.....ive seen others use it but i dont see an option for it in the code itself...please help

    http://www.dynamicdrive.com/dynamici...tmltooltip.htm


    -Newbie
    Last edited by hellakali; 03-22-2005 at 12:55 AM.

  2. #2
    Join Date
    Mar 2005
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Also, how can you change the font inside the boxes, as well?

  3. #3
    Join Date
    Mar 2005
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Nobody checks these forums? I really need help!

  4. #4
    Join Date
    Dec 2004
    Location
    UK
    Posts
    2,358
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by hellakali
    Nobody checks these forums? I really need help!
    I don't tend to answer questions about particular scripts unless I fancy rewriting one. There are odd exceptions though...

    The answer is given to you in a somewhat general form on the instruction page: the style of the tool tip is driven by style sheet rules (copied from the first textarea). If you edit them, you can alter the appearance.

    The font face is altered with the font-family property:

    Code:
    font-family: "Times New Roman";
    Opacity is a little more tricky, but you could have Googled for that:

    Code:
    opacity: 0.5;
    -moz-opacity: 0.5;
    -khtml-opacity: 0.5;
    filter:progid:DXImageTransform.Microsoft.Alpha(opacity=50);
    The first three properties take floating-point values between 0 and 1. The last takes integers between 0 and 100.

    Mike

  5. #5
    Join Date
    Mar 2005
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thumbs down

    well thank you for your reply..if it was a problem, you shouldnt have gone out of your way to answer the topic...but obviously i DID google for the opacity in the tooltip code BEFORE making a forum..matter of fact i spent hours looking for my answer b4 BOTHERING you...thank you for the suggestion though. I dont know if it is because im new here or the question I asked..but there is no reason to speak down to someone in these forums..they are here for a reason...dynamic drive scripts help? and that is what i needed help with

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
  •