Results 1 to 4 of 4

Thread: Navigation Menu stops working in IE 9 Beta

  1. #1
    Join Date
    Sep 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Navigation Menu stops working in IE 9 Beta

    1) Script Title: All Levels Navigational Menu

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/ddlevelsmenu/

    3) Describe problem: It doesn't work in IE 9 Beta.

    For a horizontal menu, when the mouse moves over a menu item, the submenu shows for a moment then collapse to a vertical line. It seems something is missing in the code to set submenu.style["width"].
    Last edited by chu_bun; 09-16-2010 at 11:02 PM.

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Since IE9 is just in its early beta stage, I probably won't start testing scripts with it until at least a couple more months. If I'm correct MS will be releasing a developer version of IE9 with stripped down functionality that won't overwrite IE8 on the same PC.
    DD Admin

  3. #3
    Join Date
    Sep 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    From my past experience, this kind of problem won't be fixed in the release version and feel kind of nervous. If I have to replace the menu codes, I would prefer doing it as soon as I can.

    In the function:
    revealmenu:function(header, submenu, endpoint, dir)

    If I set submenu.style["width"] with an explicit value, things will work as expected. But "auto" results in a 0px width.

  4. #4
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    It seems the problem is with IE9 at the moment not properly rendering the sub menus whose width or height has been set to "auto", choosing instead to display it as collapsed. For the time being, the easiest and perhaps best thing to do if you're concerned about IE9beta is to make use of IE's compatibility mode doctypes to get the page in question to render uniformly across various versions of IE, such as by adding:

    Code:
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    to the HEAD of your page. This is explained more here.
    DD Admin

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
  •