Does primary and secondary navigation links needs to be transformed into a select list to ease the selection ?

There are a bunch of discussion around the web concerning responsive menu,
for example : http://bradfrostweb.com/blog/web/responsive-nav-patterns/
also on d.o : http://drupal.org/node/1416414

So for now I'm for turning the navigation links into a select list (grouping the primary/secondary to a unique select list)
I've found a nice and easy usable Jquery plugin that does easily the job : https://github.com/mattkersley/Responsive-Menu
demo here : http://mattkersley.com/demos/responsive_menu/

And start bringing it to Kickstart v2: https://code.drupalcommerce.org/131

If this solution seems to be the nicest one, we will need to white-list the library before merging it into kickstart.

CommentFileSizeAuthor
#6 Navigation menu22.44 KBGuGuss
#1 1.png22.2 KBCookiz
#1 2.png45.66 KBCookiz
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Cookiz’s picture

FileSize
45.66 KB
22.2 KB
GuGuss’s picture

Assigned: Unassigned » Cookiz
Cookiz’s picture

Already merge, main menu become a select list.

Cookiz’s picture

Assigned: Cookiz » GuGuss
Status: Active » Needs work

We now need to decide which solution we will take and freeze it.
For me select list on small device is good, we didn't need to care about design because devices take care of that.
But Jake has choosen something else for the menu (that sounds also good for me)

MrPaulDriver’s picture

The method defined by Filament Group works very well - see http://filamentgroup.com/lab/responsive_design_approach_for_navigation/

Lullabot have recently used something similar for Leo Laporte's new site at www.techguylabs.com which is obviously built with Drupal.

Such a fix, made available as a module would be fantastic.

GuGuss’s picture

Assigned: GuGuss » Cookiz
FileSize
22.44 KB

After some reading and testing, I definitely prefer what's been done for Omega Kickstart (see the attached screenshot).

@Cookiz: Can you attach the same behavior to the kickstart theme.

MrPaulDriver’s picture

Yes that looks good.

A good turnkey solution for Omega themed sites would be most welcome.

Cookiz’s picture

Status: Needs work » Needs review
bojanz’s picture

Since we've made commerce_kickstart_theme into a subtheme of omega_kickstart, can we remove some of these?

libraries[selectnav.js][type] = "libraries"
libraries[selectnav.js][download][type] = "git"
libraries[selectnav.js][download][url] = "https://github.com/lukaszfiszer/selectnav.js.git"
libraries[responsive_menu][type] = "libraries"
libraries[responsive_menu][download][type] = "git"
libraries[responsive_menu][download][url] = "https://github.com/mattkersley/Responsive-Menu.git"

EDIT: Confirmed with Cookiz that responsive_menu can most likely be removed. Needs confirmation.

Cookiz’s picture

Assigned: Cookiz » bojanz
Status: Needs review » Closed (fixed)

Ok so responsive_menu is unused.
https://code.drupalcommerce.org/394

We still need selectnav.js which aims to turn the faceted search link from checkbox to a select list.

MrPaulDriver’s picture

Does anyone have time to explain how to peel this out of Kickstart to use on a regular omega theme?