I had posted what I guess was a too specific question earlier. Let me rephrase it with a general problem I am having.
I have one html file that is linked to a css file. I have superfish.js in a js folder in the same directory. The menu does not appear.
What I have done:
- download superfish.js and place it in js folder
- copy superfish.css file and place it in my .css file
- load js at the top of my html file
Thats all i could find that I was supposed to do. I would say it seems like a CSS problem, because when I change
.sf-menu ul {
position: absolute;
top: -999em;
width: 10em; /* left offset of submenus need to match (see below) */
}
to
.sf-menu ul {
position: absolute;
top: 0em;
width: 10em; /* left offset of submenus need to match (see below) */
}
the menu appears in the top left. I copied the horizontal nav CSS from superfish and it still only displays horizontally. So have I missed some other basic step?
HTML: http://smart-art.org/cadop/index.html
CSS: http://smart-art.org/cadop/oneColFixCtr.css
The index.html
shows the menu at the top left, this is because I changed the CSS to make the -999em
to 0em
... so I assume the JS is working, but I'm totally baffled.
I hope this isnt too specific to me as I am using Dreamweaver. I clicked one column layout with CSS in a different file. Copied the CSS from Superfish website, and placed the JS files in the folder.
Any help?