I'm trying to modify the search template to fall in line with the look of my website and I've got a conflict when I include a call to a MooTools script called Menumatic which is a js to render my main menu. Firebug shows an error with Menumatic and the menu doesn't display at all. Following is the code I've added to the bottom of the <body> tag in search_template.html which controls the rendering of the menu:
This controls the menu in my banner and I really do need it. I'm pretty much a noob with javascript so I have no idea what I need to change to get it to work. Any suggestions?
Code:
<script src="http://www.google.com/jsapi"></script>
<script>google.load("mootools", "1.2.1");</script>
<script src="../js/MenuMatic_h_0.68.3.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript" >
window.addEvent('domready', function() {
var myMenu = new MenuMatic();
});
</script>
Comment