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
Tooltips with more pizzaz
Hi,
You need to add a overfilter property to your tooltips style:
Here's the style you need:
This need to be changed inside the tooltips.js file
HTH,
Andy
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);";
}
HTH,
Andy
-
- Beginner
- Posts: 2
- Joined: Thu Mar 08, 2007 7:52 pm
Tooltips wit Pizzzaz
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
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