PDA

View Full Version : All Levels Navigational Menu and Safari



ryanjohnson00
04-18-2012, 07:34 PM
I am using the "All Levels Navigational Menu" DHTML but found that it is not working for Safari. Is there a way to get it to work with Safari? Looking at the menus I am not seeing any that actually work with Safari. Maybe Safari is not compatible.

Thank you!

Ryan

ddadmin
04-18-2012, 09:05 PM
Warning: Please include a link to the DD script in question in your post. See this thread (http://www.dynamicdrive.com/forums/showthread.php?t=6) for the proper posting format when asking a question.

Are you using the Mac or PC version of Safari? Also, does the problem occur on the DD script page as well, or just on your own page?

ryanjohnson00
04-18-2012, 09:37 PM
You're right, the demo.htm page works but my version does not. After comparing the files I found that this line was the issue in the ddlevelsmenu.js:

(this.ismobile || header._istoplevel)? "click" : "mouseover")

I wanted the users to click on the menu because we had one user that would always click on it even though he did not have to and then the submenu's would disappear. He loses this battle. I downloaded the new zipped file that was updated in March and am now using that .js file (3.02).

It is working now. Thanks!

ryanjohnson00
04-18-2012, 10:05 PM
One questions about this .js file. I see the hideinterval works for the top menu and delays it. Is there a way for me to also delay the submenu so it sticks around if a user hovers out of the box?

http://www.dynamicdrive.com/dynamicindex1/ddlevelsmenu/