Menu - Disable the Mouseover Submenus

I am trying to modify my sites top menu to not show the popup submenus when a user puts the mouse over the top links. I have tried using the menu builder to do this, but if I remove member options from there I also remove them from the modules own submenu. Is there a way of doing this? I think the solution may lie in editing the /templates/base/classes/BxBaseMenu.php.

I want to remove the popup menus shown in red, but retain those shown in green.

The image above shows the popup I want to remove in red, the title bar I want to retain in pale green, and the module menu I want to retain in light green. I would be grateful for any solution posted, including ones that simply don't modify the CSS hide property.

Quote · 9 Dec 2010

Have you tried going into Admin Panel>Builders>Navigation Menu and click the sub menu blocks you do not want to appear and remove the checkmark from 'Visible for: guest AND member' ?

 

Nothing to see here
Quote · 9 Dec 2010

Add this to the end of top_menu.css in your template directory:

 

.topMenu .top ul.sub.main_elements {
left:-2000px;
}

 

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 9 Dec 2010

Thanks for your replies. Zarcan, I did try that but it had the same problem as dragging the menu items off the menu in that they still disappeared from the submenu displayed on that modules pages.

Houston_lively, you code worked in FireFox 3.6 and IE8, but in Chrome the menu was still being rendered in pages that were not the home page. I therefore changed your code from displaying the menu off screen to not displaying it at all, in the mod that follows:

In dolphin_root/templates/temp_uni/css/top_menu.css append the following lines:
.topMenu .top ul.sub.main_elements {
display:none;
visibility: hidden;

}

Quote · 10 Dec 2010

That's impossible.  You probably just needed to delete the cache files.  Anyway, display:none; will work for the uni template, but in some custom templates, some strange artifacts may remain.  Keep that in mind if you do this with a custom template.

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 10 Dec 2010

Hi

I was wrong about it not working with Chrome - I think the old template was in the browser cache - funny how it didnt show on the home page though. Thanks for your help!

Quote · 10 Dec 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.