Forums Archive Index > SmartMenus 5 > Separate global and local page menus
Date: 26 May 2005 12:15 am
I'm using a horizontal menu system on our school administration pages. It works *great* and allows me to keep the sitewide links updated from one location.
I would also like to add a local vertical sidebar menu for our individual school sites in addition to the global top horizontal menu. The vertical sidebars will be different for each school.
I haven't been able to figure out how to define a local vertical menu along with the global one. I tried using the loader's s_Any_Add_On_Source to point to a local local_arrays.js file, but when I did, all the menus stopped working.
Is there an example somewhere of how this can be done?
Thanks,
-Tom
Date: 27 May 2005 4:12 am
Well, you can follow this guide - --> http://www.smartmenus.org/forum/viewtopic.php?t=68 .
If you do it this way, you can leave your global menu in the s_arrays.js file and then add any page-specific menus in the source of your pages (or in external JS files to allow cache-ing for the definitions code)..
Date: 30 May 2005 5:07 pm
That worked perfectly! Thanks very much! :D