Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:39
Tooltips with more pizzaz
Poster: GeneWright
Dated: Thursday March 8 2007 - 18:59:55 GMT
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
Poster: Andy
Dated: Tuesday March 13 2007 - 10:51:41 GMT
Hi,
You need to add a overfilter property to your tooltips style:
Here's the style you need:
Code:
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);";
}
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
Tooltips wit Pizzzaz
Poster: GeneWright
Dated: Thursday March 15 2007 - 5:04:47 GMT
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