forums
You are not logged in.
i'd like to disable the dropdown menu (but still keep the top level menu) for safari users. i've got the browser detection all set. any idea where in c_smartmenus.js i can put a condition where if the browser is safari, don't run this code?
Offline
Hi,
I am not sure why you would like to do this but you can use the following JS code snippet for the purpose:
c_mN_new=c_mN;
c_mN=function(){
if(!c_sF) //if not Safari, initialize...
c_mN_new();
}You just have to include it on your page after the link to the SmartMenus script core file "c_smartmenus.js" (or you can also just add it at the end of "c_smartmenus.js").
Offline