.net menu (using css adapter) won't display children in ie7/8 RRS feed


  • User-620063490 posted

    When looking @ the examples on the asp.net css adapters home page (browsing the page html) I noticed the page loads a menu.js file.  I dug to the js file and found it would use javascript hover/unhover events for browsers older than IE7.  I took the script and placed it in my page - no problem.  I also borrowed their menu .css to see if that helped.  The menu .css had the same issues on my machine the current .css had (their .css worked fine for their site using my machine - wierd).  I ended up removing the browser version check around the initial hover call and the menu started working.  Additionally, I was able to use my original .css and everything still worked.

    I flipped the logic in the .js around so it only kicks in for browsers newer than ie6.

    Here's a link to the .js file they use: http://www.asp.net/CSSAdapters/JavaScript/MenuAdapter.js

    best of luck!

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, June 29, 2009 1:50 PM