Results 1 to 2 of 2

Thread: xpmenuv21 CSS

  1. #1
    Join Date
    Dec 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default xpmenuv21 CSS

    Hello guys, i added the tree menu xpmenuv21
    Code:
    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


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

    can you help me please

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    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:

    Code:
    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.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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
  •