Results 1 to 8 of 8

Thread: Chrome CSS Drop Down Menu in IE

  1. #1
    Join Date
    Nov 2008
    Posts
    5
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Chrome CSS Drop Down Menu in IE

    1) Script Title: Chrome CSS Drop Down Menu (v2.5)

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...rome/index.htm

    3) Describe problem:
    This script works beautifully in Firefox and Safari on my site, but in MSIE (of course), an error is thrown which causes the menu panel itself to be displayed in the top-left corner behind every DIV. Furthermore, the menu will only be (incorrectly) displayed on the first mouseover of the link -- after that, nothing happens at all! Why...?

    Here is the site that the script is on to help explain my problem: http://jmatula.co.cc

    Thank you so much in advance!
    - John

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

    Default

    It looks like you're including the menu using Ajax Includes script. Typically this script should only be used to include regular HTML, not complex JavaScript, as IE sometimes will falter over that.

    Just to confirm if that's the issue, try adding Chrome Menu directly to your page.
    DD Admin

  3. #3
    Join Date
    Nov 2008
    Posts
    5
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Ah! Thanks, that did make it work in IE... kind of.

    So all of the menus are displayed position-wise where they should, but now (in IE still) every menu's length is only about 4 or 5 pixels. Adding a "height:auto" or a "height:200px" to the ".dropdownmenu" class or to the actual menu DIV itself doesn't make a difference.

    I don't mean to keep asking questions, but now what's going on?

    Again, thank you so much!
    - John

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

    Default

    Can you update your page with the changes thus far? Right now the menu's still being included via the Ajax Includes script.
    DD Admin

  5. #5
    Join Date
    Nov 2008
    Posts
    5
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Oops! Sorry, absent minded during this hectic week. My site is now updated.

    Note that the new URL is http://jmatula.co.cc/indexTEST.html. Thanks

    - John

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

    Default

    Ok, there may be other errors, but one obvious one I see now is the DIV:

    Code:
    <div class="chromestyle" id="chromemenu">
    
    </div>
    It should wrap around just the main menu headers, and NOT all the sub menus as well as you have now. So something like:

    Code:
    <div style="height:23px" id="middler">
    
    <ul>
    <li><a href="http://jmatula.co.cc" rel="dropmenu0">Home</a></li>
    <li><a href="#" rel="dropmenu1">Stickfigs</a></li>
    <li><a href="#" rel="dropmenu2">2008-2009 Season Art</a></li>
    
    <li><a href="#" rel="dropmenu3">Piano</a></li>
    <li><a href="#" rel="dropmenu4">Development</a></li>
    <li><a href="#" rel="dropmenu5">Other</a></li>
    </ul>
    
    </div>
    DD Admin

  7. The Following User Says Thank You to ddadmin For This Useful Post:

    jmatula (12-07-2008)

  8. #7
    Join Date
    Nov 2008
    Posts
    5
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    It still is being displayed incorrectly as an "invalid error" in IE, and it is supposedly from "/chrome.js."

    (But I did fix that problem -- I didn't realize that it would be affected.. huh)

    - John

  9. #8
    Join Date
    Nov 2008
    Posts
    5
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Seeing as how the script that is freshly downloaded from DD works in IE, it looks like I'm gonna have to revert some things.

    But of course, thank you for your time (and cleaning up my code, haha!).

    - John

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
  •