The Multilevel Menu with CSS and JavaScript has had a major revision, both in its code and in the tutorial.
The Menu now is much easier to install, and most of the causes of installation troubles have been eliminated. It also loads and runs much faster. In addition, the Menu has been made upgrade-proof, meaning that that hard-coded URLs will not have to be changed when you upgrade.
The tutorial has been extensively revised as well. New sections on menu setup and troubleshooting have been added, and the sections dealing with the code and the installation have been updated to reflect the revisions.
If you are a user of the Menu there is no reason for you to upgrade if you are pleased with its performance. But if you want a faster-loading, upgrade-proof program, then you can update in just minutes. Here are some things to note when upgrading:
- The CSS files “jqueryslidemenu.css” and “jqueryslidemenu-thesis.css” and the CSS you put into custom.css have had only a few revisions. Those are for ease of use, so there is no reason to replace them.
- The JavaScript file is unchanged, so it will not need replacement, either.
- You will need to remove the code from the header section of Thesis Options. This is now taken care of with functions in custom_functions.php.
- There are three functions for custom_functions.php now instead of one. You will need to copy the first two, “slidemenu_head” and “slidemenu_foot” into custom_functions.php They load the necessary files into the HTML of your page and replace the code in the header section of Thesis Options. The third function, the one with your menu definitions, is unchanged, and does not need replacement.
I want to take this opportunity to thank Gary Jones for his suggestions for the Menu’s improvement. They are the basis of several of the revisions in the Menu code.
And thank you to all who have tried the Menu out, and to those on the DIYthemes Forum whose experiences with the Menu have led to my making this revision.