You like / use the original Cumulus 'style', but you wish it had the site wide menu 'definitions' and dropbox capability like CuMx 3.10 default
So be it ...
I've tried to make it as easy as possible, you will need to add one or perhaps two lines to your pages.
The code(s) are only very slightly modified sections of the current distro default.
The zip contains:
js/menu.js - the menu definitions file which you can duplicate / edit in the same manner as CuMx 3.10 default
js/legacymenu.js - the actual menu creation code to be included in your pages.
css/legacy.css - style sheet to duplicate the 'legacy' look / feel (You can edit this if you are insane)
Overview:
Simplified Chinese - On turning enjoy will be yours.
Realworld - Original C1.9.4 and CuMx 'legacy' both have the nav-bar contained in a <div class= "td_navigation_bar"> ... </div>
On page load, the new js/legacymenu.js adds the new css/legacy.css to the page,
creates the menu content from the definitions file js/menu.js
REPLACES the content of ANY <div class= "td_navigation_bar"> with the new menu.
i.e. You can have more than one menu on a page (say top and bottom)
HOW TO:
Put the files in the obvious places on your WEBSITE (NOT a CuMx 3.10+ 'default' site unless you are careful with the menu name !!)
You can change the menu used in js/legacymenu.js
In your pages ensure you are loading jQuery - In the case of CuMX 'legacy' this is being done at the bottom of the page(s)
Somewhere AFTER the jQuery 'call' add:
Code: Select all
<script src="js/legacymenu.js"></script>