Saturday August 02 2008

Superfish menu help

I"m having some trouble getting the superfish menu jQuery plugin to work. I’ve posted on Expression Engine forums and copied it here for my personal reference. If anyone is reading this feel free to reply here or at the EE forums.

I’ve decided to give superfish menus a shot on my latest site. I’ve set up a dummy template to perfect the code before adding it to the real site. dummy template here.

I added a sub list and that broke the page until I added the sf-menu class to the containing ul tag. Now that I’ve done that, I’m at an impasse and do not know how to proceed.

The one section with a drop down menu isn’t dropping down. Additionally the final menu item is starting on a new line in FF & opera, but missing in IE (this is not so important, I’m sure I can fix that myself) How do I get the drop down menu to appear?

Thank you for your help - if you go to a regular template you can see the simple menu working correctly.

My code as it stands is:

<ul class="sf-menu">
    <
li class="home"><a href="{path=">Home</a></li>
    <
li class="resume"><a href="{path=">Resume</a></li>
    <
li>
        <
ul>
            <
li>resume</li>
            <
li>teaching philosophy</li>
            <
li>teaching demo</li>
        </
ul>
    </
li>
    <
li class="materials"><a href="{path=">Materials</a></li>
    <
li class="studentwork"><a href="{path=">Student Work</a></li>
    <
li class="contact"><a href="{path=">Contact</a></li>
</
ul>
</
div><!-- navigation -->
<
sc*ipt type="text/javascript"
 
    $(
document).ready(function() 
        
$('ul.sf-menu').superfish(); 
    
}); 
 
</
sc*ipt


Sean. inscribed these words of wisdom on Saturday Aug 2, 2008 at 10:00 AM | tags: ee thread, jquery, superfish |
Commenting is not available in this weblog entry.
logo subscribe to rss
theme forest

About Me

This blog is my journey to professional web design and development. Here I will write about code and things I learn about xhtml, css, javascript, jquery, Expression Engine, Wordpress and any other CMS I need to use in my new career.

I will be adding links to the sidebar as I find useful resources and blogs. I'm also looking forward to getting feedback from other designers and developers. Thanks for dropping by.

Web Design Blogs

Tutorials

Online Resources

Find Work

Stock Imagery

Validators

CMSs

Recently Bookmarked

Tag Cloud

Reading List

Categories

subscribe to rss