Results 1 to 9 of 9

Thread: Smooth Navigational Menu not working ie6

  1. #1
    Join Date
    Jan 2009
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Smooth Navigational Menu not working ie6

    1) Script Title:

    Smooth Navigational Menu

    2) Script URL (on DD):

    http://www.dynamicdrive.com/dynamici...smoothmenu.htm

    3) Describe problem:

    The menu does not work in IE6 SP2 but works fine in FF 3.

    If i run the menu on the desktop in IE 6 the menu shows up but doesn't dropdown in IE neither do the 2 small arrows icons appear in IE. It works fine in FF on desktop.

    Then if i go to the link above the demo menu on the page doesn't even show at all in IE again the menu on the DD page shows and works in FF.

    Here are some pics showing what i mean.

    FF on the desktop, (notice the arrow icons ARE there and obvioulsy the dropdown works)



    IE 6 on desktop (no arrows and drop down doesn't work, cursor is on item 3)




    FF at DD link, (menu IS there)



    IE6 @ link (menu isn't there)



    Any ideas?

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

    Default

    Both demo menus on the DD script page works for me in IE6 actually. The only thing worth mentioning is that my copy of IE comes from the IE browsers package by Trendsoft.
    DD Admin

  3. #3
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    Works in IE6 with IETester from DebugBar. Except for some minor shadow issues, both demo menus work fine. Try reinstalling your standalone version of IE6, there might be some settings that need to be fixed and reinstalling should do it.

  4. #4
    Join Date
    Jan 2009
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks, it is obvioulsy a javascript error, i get 2 errors in the IE debug js box, one is, "expected ]" and the other , "object expected"

    Could someone please try the page on my server on both browsers, pref IE 6, would be great if you could.....

    menu.htm
    Last edited by llcoolj; 01-02-2009 at 01:40 PM.

  5. #5
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    Works fine in IE6:
    Attachment 2393
    What are you using to test this in IE6?

  6. #6
    Join Date
    Jan 2009
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Just worked it out, i first downloaded the IE script debugger, ran the page and gave an error it stops here in the ddsmoothmenu.js script,

    Code:
    Query(document).ready(function($){ //override default menu colors (default/hover) with custom set?
    		if (typeof setting.contentsource=="object"){ //if external ajax menu
    			ddsmoothmenu.getajaxmenu($, setting)
    Which told me that there is a problem accessing the external google jquery.min.js file, as the file is linked in the code using the full google path so i just downloaded the jquery.min.js file from google and used it locally and it now works in IE 6 !!

    How about that, nobody ever come across that before?

  7. #7
    Join Date
    Jan 2009
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Just noticed that when the menu expands(drops) it doesn't stay "on top" of other divs or elements below the dropdown sub menu, probably bad coding on my behalf, any tips here, here is an exmaple, the blue box is an AP div,


  8. #8
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    That probably has to do with the z-indexes.
    Please post a link to the page on your site that contains the problematic script or attach your code so we can check it out.

  9. #9
    Join Date
    Jan 2009
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    z-indexes worked thanks again...

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
  •