View Full Version : ddsmoothmenu not working in Safari & Chrome

07-14-2011, 12:25 PM
1) Script Title: ddsmoothmenu

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

3) Describe problem: The dropdown menu doesn't work in Safari and Chrome, but it does in FF, IE and Opera. You can view the problem on here: http://www.junocoaching.nl/

07-15-2011, 03:40 AM
Hmm this is a rather strange one. The script appears to be running properly in Chrome- the sub menus simply don't show up for some reason. Two possibilities:

1) There may be something in the newer version of jQuery you're using that's the issue. What if you changed the reference:

<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>


<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>


2) If that didn't work, it might have something to do with your page's CSS and layout; I see the menu is nested deep inside floated containers. What if you moved the menu (topmost element for it is DIV class="ddsmoothmenu") outside so it's a direct child of the BODY element? Better yet, create a new blank page with just the menu on it and see if it shows up in Chrome. If so, then slowly add back the rest of your page's elements until the culprit is located.

07-15-2011, 03:04 PM
I was using the old jquery version first, so I tried using the newer version but it didn't do anything.

I'll try your second option in a second.