PDA

View Full Version : xpmenuv21 CSS



souwar
12-14-2007, 07:30 PM
Hello guys, i added the tree menu xpmenuv21

http://www.dynamicdrive.com/dynamicindex1/switchmenu2.htm
to my website and i noticed that the drop down class apply a filer alpha that let the font be crisp, when i tried to remove the "Filter:alpha(opacity=100);" the drop down is not working any more all menu are expended :confused:


.dropMenu
{
font: 11px verdana,sans-serif;
color: #CCCCCC;
Filter:alpha(opacity=100);
}

can you help me please

jscheuer1
12-16-2007, 01:24 PM
The filter is required in IE for the fading in of the menu content. However, IE 7 does have this bug as regards filters, it makes the text look 'lightweight' because it loses its Clear Type anti-aliasing.

You could remove the filter from the stylesheet and set:


var doFading = false;

around line #89 in the xpmenuv21.js file, but that will make the appearance of the menu text appear a little sudden. This may be preferred in IE 7, but it will also ruin it for all other browsers, none of which have this problem with the sketchy looking text.

As far as I can tell this is truly a bug in IE 7, so I would be inclined to either not use this menu on account of that, or to live with it 'as is' in the hopes that MS will eventually fix this bug. It isn't so bad with the fading disabled though, but it does lose some of its smoothness.