Jump to content

Integrating jQuery UI Selectable and SuperFish


Vel

Recommended Posts

I have a CMS system that uses SuperFish to build the menu on the front end. On the back end one of the most common comments we received was users found it hard to relate the back end menu to the front end menu. Our solution, make an editable copy of the front end menu in the back end. This involved combining the jQuery UI selectable feature with a SuperFish menu.

 

The initial integration works great. I have a menu bar with 2 tiers of drop down menus on them and I can move items around on the menu fine. I can select an item in a child menu and move it to it's parent fine, however I can't move an item to a child menu because whilst the drag feature is functioning hovering over a SuperFish menu doesn't open it.

 

What I need to do is try to find a suitable way to open all the child menus when select is active. I thought something like this would work:

 start: function(event, ui) {
$('ul.main-menu').showSuperfishUl();
}, 
stop: function(event, ui) {
$('ul.main-menu').hideSuperfishUl();
}

However that just creates an ever increasing number of white spaces every time I move my mouse whilst dragging an item in a menu. Is there a way to open all of the child menus of the active select menu?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.