[wp-trac] [WordPress Trac] #21678: Twenty Twelve: gracefully handle displaying sub-menus in small navigation menu
WordPress Trac
wp-trac at lists.automattic.com
Mon Aug 27 21:28:14 UTC 2012
#21678: Twenty Twelve: gracefully handle displaying sub-menus in small navigation
menu
---------------------------+------------------
Reporter: lancewillett | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.5
Component: Bundled Theme | Version:
Severity: normal | Resolution:
Keywords: ui-feedback |
---------------------------+------------------
Changes (by emiluzelac):
* cc: emil@… (added)
Comment:
Good approach to this is to get the menu act and be like dropdown (select)
box, this way you will avoid centered menu and reduce so much unnecessary
space.
Take a look at [http://tinynav.viljamis.com/ TinyNav.js]
and slightly modify active for current items and voila!
{{{
// Responsive Menu (TinyNav.js)
jQuery(".menu").tinyNav({
active: 'current_page_item', // Set the "active" class
header: false // Show header instead of the active item
});
}}}
I tried showing all by default, users didn't like it, after that it was
nice and centered, still many support questions "why oh why" and after
Theme incorporated TinyNav.js everyone liked it.
And if you guys don't like that idea you can always use current setup and
adjusted to be more like this [http://filamentgroup.com/examples/rwd-nav-
patterns/ RWD Nav Patterns]
P.S. Keeping main menu only is great idea.
Thanks,
Emil
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21678#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list