jquery navigation will not work
Permalink
Hello all. I am trying to get a responsive hard coded navigation menu to work with Concrete5 5.6.0.2.
When I download the navigation menu and run it from my desktop it works fine. But when I try and incorporate it to CC5 it will not work.
I have had success using CC5 with other navigation menus that use jquery, but I just cant get this one to access the run/access the.js file.
In my theme header file I have:
<script src="<?php echo $this->getThemePath()?>/js/jquery.meanmenu.js"></script>
<script>
jQuery(document).ready(function () {
jQuery('header nav').meanmenu();
});
</script>
</head>
Am I missing something here?
Many thanks.
When I download the navigation menu and run it from my desktop it works fine. But when I try and incorporate it to CC5 it will not work.
I have had success using CC5 with other navigation menus that use jquery, but I just cant get this one to access the run/access the.js file.
In my theme header file I have:
<script src="<?php echo $this->getThemePath()?>/js/jquery.meanmenu.js"></script>
<script>
jQuery(document).ready(function () {
jQuery('header nav').meanmenu();
});
</script>
</head>
Am I missing something here?
Many thanks.