Hello,
I’ve recently tried using the smartmenus code and I’m running up against the following issue.
jquery.smartmenus.js:424
Uncaught TypeError: Cannot read property ‘css’ of null
at $.SmartMenus.isCSSOn (jquery.smartmenus.js:424)
at $.SmartMenus.handleEvents (jquery.smartmenus.js:415)
at $.SmartMenus.handleItemEvents (jquery.smartmenus.js:418)
at $.SmartMenus.itemBlur (jquery.smartmenus.js:471)
at HTMLAnchorElement.i (jquery.min.js:3)
at HTMLUListElement.dispatch (jquery.min.js:3)
at HTMLUListElement.v.handle (jquery.min.js:3)
at Object.trigger (jquery.min.js:3)
at Object.simulate (jquery.min.js:3)
at HTMLDocument.r (jquery.min.js:4)
In addition to the jquery and bootstrap files i have on my site I’ve included the following files.
<script type=”text/javascript” src=”/Lib/Navigation/smartmenu/jquery.smartmenus.js”></script>
<script type=”text/javascript” src=”/Lib/Navigation/smartmenu/jquery.smartmenus.bootstrap.js”></script>
<link rel=”stylesheet” type=”text/css” id=”smartmenu” media=”screen” href=”/Lib/Navigation/smartmenu/jquery.smartmenus.bootstrap.css” />
Any idea why this error is happening? It happens when I hover or click on any menu item.
Thank you!