The other day one of my clients asked me to look at a very neat effect he saw somewhere. He insisting on having “the same” in his site. So I made a little research and came across this really neat gimic: the Lava Lamp Menu. The main idea is to have a neat transition that enhances the hover effect, making the active menu item transform to its new css with a very delicate and not-too-obtrusive sliding motion.
Everyone knows it is mostly unrecommended to hard-code direct calls for js scripts on your templates header. There are many reasons for that, most of them relating to different scripts and api’s incompatibility, that eventually may cause conflicts and wrong behavior of your page. Instead WordPress suggests two core functions to do the same trick: