My small non-profit has some menus with 20+ items that we cannot slim down. The SOOPER fish menu (http://www.sooperthemes.com/open-source/jquery/jquery-sooperfish-dropdow...) seems to be the best option for easy multi-column dropdown, but I'm not sure how to make it integrate with Danland easily. Any Ideas?

Comments

danpros’s picture

Hi,

I think the system is similar with Superfish menu so you can learn from Danland.

Danland Superfish

 jQuery(document).ready(function($) {
    $("#superfish ul.menu").superfish({ 
            delay:       100,                           
            animation:   {opacity:'show',height:'show'},  
            speed:       'fast',                          
            autoArrows:  true,                           
            dropShadows: true                   
        });
  });

You can call the plugin like this also

jQuery(document).ready(function($) {
	$("#superfish ul.menu").sooperfish({ 
		animationShow:   {'width':'show'},
		speedShow:     400,
		animationHide:  {'width':'hide'},
		speedHide:      100               
	});
});

You can read the documentation on how to integrated it.

Dan

NickTomlin’s picture

Hi Dan,

Thanks for your quick response, and for your wonderful theme!

If I want to include the sooperfish javascript files in my theme, can I just add them to the danland.info file like this?

scripts[] = scripts/hoverIntent.js
scripts[] = scripts/sooperfish.js
scripts[] = scripts/jquery.easing.sooper.js

Will this break when I update to the next version of Danland?

Do you know of a better way to do multi column with just regular superfish?

Thank you!
Iota

danpros’s picture

Hi Iota,

Yes you can add like that and it will gone if you upgrade it to newer version, but you can use a subtheme instead.

Multi column? did you mean like Mega menu? I think Superfish does not supported that.

Dan

NickTomlin’s picture

Yes, getting it to accept the multi column menus without changing the markup is going to be very difficult. Do you happen to know of any other way to solve the issue of having 20+menu items (way too big for smaller screens).

Thanks!

Nick

Leeteq’s picture

Category: Feature request » Support request
Issue summary: View changes
Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.