I18N navigation dropdown menu - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16) +--- Thread: I18N navigation dropdown menu (/showthread.php?tid=4367) |
I18N navigation dropdown menu - Alb - 2013-02-26 Hello. I have been trying to figure out how to fix this problem for some days but I could find a solution I am using I18N navigation to display 2 menus. One top menu and the other on my sidebar. The topmenu is like: Link1 Link2 Link3 Link3-1 Link3-2 Link4 To display this menu I use PHP Code: <?php get_i18n_navigation(return_page_slug(),0,1,I18N_SHOW_LANGUAGE); ?> and the other problem is with menu on my sidebar which is like: Link5 Link5-1 Link5-2 Link5-3 Link5-3-1 Link5-3-2 Link5-4 Link5-5 I use to display this menu: PHP Code: <?php The page is under construction and I can't provide yet a public link. Thanks[/quote] RE: I18N navigation dropdown menu - mvlcek - 2013-02-26 (2013-02-26, 01:46:41)Alb Wrote: To display this menu I use Do you mean, that you use drop down menus? Depending on the CSS they are normally only open, if you hover the mouse over the top entry. If you want to open it automatically, if the page or one of the subpages is displayed, you need to add appropriate CSS, e.g. (extension of CSS from here) Code: .sitemenu li:hover ul, .sitemenu li.open ul { display:block; } (2013-02-26, 01:46:41)Alb Wrote: and the other problem is with menu on my sidebar which is like:Your function call has too many parameters, see here. Third parameter should be > 1, e.g. 9, and fourth (0) should be removed. RE: I18N navigation dropdown menu - Alb - 2013-02-26 Thank you mvlcek for your quick reply. Looks like my menu was closed because I was using I18N_SHOW_LANGUAGE. I replaced this with I18N_SHOW_MENU and the dropdown menu appeared. The same thing I did with the sidebar menu, I replaced I18N_SHOW_LANGUAGE with I18N_SHOW_MENU and changed the third parameter to 9 and removed the fourth a now is working. Thanks again |