Skip to main content
Skip table of contents

How to expand the size of the dropdown-menu in the navigation


If you have a navigation point in your menu with a bigger dropdown it will generate a longer list. When you don't want to scroll down every time than it is possible to expand the dropdown menu with a javascript inside you custom HTML. With following script you can change the amount of tables which are displayed in the dropdown menu:

XML
<script type="text/javascript">
   window.EnterpriseTheme = window.EnterpriseTheme || {};
   window.EnterpriseTheme.MegaMenu = window.EnterpriseTheme.MegaMenu || {};  
   window.EnterpriseTheme.MegaMenu.rowItems = 5;
</script>


In this case we changed the number of displayed tables to 5: → window.EnterpriseTheme.MegaMenu.rowItems = 5;

In this line you can define the tables as you are requiring it. 


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.