First, some suggestions:
- When developing a page, add your JavaScript and CSS in small chunks so your page/site doesn't grow to an unmanageable size before you understand what's going on.
- When adding something new, sometimes it's helpful to add the CSS in the tag. Then ensure the problem isn't caused by a linking problem.
Now to your question. Based on your page, it looks like your HTML was messed up. All I did was copy the HTML from the Superfish v1.4.8 example page and replace your menu.
It looks like your menu is missing many of the necessary classes for the menu. For example, look at the difference between your top menu element and the sample's:
Your code: <ul class="sf-menu">
Sample code:<ul id="sample-menu-1" class="sf-menu sf-js-enabled sf-shadow">
I also used the original CSS for .sf-menu ul
.
.sf-menu ul {
position: absolute;
top: -999em;
width: 10em; /* left offset of submenus need to match (see below) */
}
Working Example: http://jsfiddle.net/HtBUZ/
Action Items to fix your page
- Correct your HTML using the Superfish v1.4.8 example.
Make sure your scripts are correct.
Your page is missing JQuery.
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
- Your page is incorrectly linking
hoverIntent.js
.
- Revert your CSS to the original
-999em
value for.sf-menu ul
.