Closed (works as designed)
Project:
Menu Minipanels
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
14 Dec 2010 at 02:31 UTC
Updated:
10 Mar 2013 at 19:09 UTC
Qtip lets you pass in a custom target element. So you can make a menu appear full width and left aligned under a full horizontal primary nav. This is really good for really wide / big mega menus.
I've hacked the menu_minipanels.js file to do this with this code:
settings['position']['target'] = $('#header-group-inner');
But it would be nice to have official support. Nice module BTW.
Comments
Comment #1
willieseabrook commentedGreat idea @sammo. This is committed to latest dev version. See the "Custom" option in the select box in the menu edit, and the custom field below that for the jquery selector.
Comment #2
sammo commentedGreat thanks @willieseabrook
Comment #3
tyler-durden commentedMy CSS skills are horrible, and I am needing the same (Full width panels left aligned). I am using 6.x-1.2 and I have the custom field and select box, but I don't know what css to implement with the '#header-group-inner' code. Thanks in advance!
Comment #4
sammo commentedIt depends on the template you are using. Just find a div element that is full width and put its id in the Custom field. The dropdown menu should then align under this. Use firebug for firefox to inspect the DOM of your page templates ...
Comment #5
sammo commentedComment #6
tyler-durden commentedWow that was simple enough, thanks for the help!
Comment #7
bradbrad commentedI'm trying to get my dropdowns to span the width of my theme (it's a fluid theme), in other words the min and max width must be set as % not px. I've tried a hundred ways to achieve this but just can't get it right! Any ideas?
Comment #8
stevieegee commentedHi Brad
Did you find away to get the dropdown to span a fluid theme? I am trying to do the same.
Stephen