Tooltips with more pizzaz

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
GeneWright
Beginner
Beginner
Posts: 2
Joined: Thu Mar 08, 2007 7:52 pm

Tooltips with more pizzaz

Post by GeneWright »

my website is 95% css. I am using the following filters combined to do css tooltips: filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,
startColorstr=#AECBFD, endColorstr=#ffffff)
progid:DXImageTransform.Microsoft.Shadow(color=gray,direction=135); How can i do this with tooltips. I am using tooltips with my menus now but would like a little more pizzaz

Gene Wright
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

Hi,

You need to add a overfilter property to your tooltips style:

Here's the style you need:

Code: Select all

with(M_toolTipStyle=new mm_style()){
      offcolor = "#000000";
   bordercolor = "#999999";
   borderstyle = "solid";
       padding = 1
   borderwidth = 1
      fontsize = "10px";
     fontstyle = "normal";
    fontfamily = "tahoma, verdana"; 
      overfilter="gradient(GradientType=0,startColorstr=#AECBFD, endColorstr=#ffffff);Shadow(color=gray,direction=135);";
}
This need to be changed inside the tooltips.js file

HTH,
Andy
GeneWright
Beginner
Beginner
Posts: 2
Joined: Thu Mar 08, 2007 7:52 pm

Tooltips wit Pizzzaz

Post by GeneWright »

Thanks for the code, but that only changed the border
but it gave me an idea that I could to apply the code to the offbgcolor

offbgcolor = "gradient(GradientType=0,startColorstr=#AECBFD, endColorstr=#ffffff);";

This is exactly what I wanted

Thanks, Gene
Post Reply