Drupal4Gov / Drupal-GovCon-2015

Drupal GovCon 2015 website
MIT License
1 stars 2 forks source link

Make second tier of main menu visible on wide touch devices #78

Closed jonraedeke closed 9 years ago

jonraedeke commented 9 years ago

The switch from menu button to horizontal menu with hover drop-downs occurs at 44em(704px). Many touch devices are wider. They can't hover to see second level.

Options

timwood commented 9 years ago

@jonraedeke Any interest in working on this?

jonraedeke commented 9 years ago

Yep, still working on this one. Thanks for checking.

Sent from my iPhone

On Apr 12, 2015, at 12:32 PM, Tim Wood notifications@github.com wrote:

@jonraedeke Any interest in working on this?

— Reply to this email directly or view it on GitHub.

jonraedeke commented 9 years ago

Here's the solution I came up with: Detect touch events with Modernizr and repurpose the mobile menu for touch devices. Committed the styling and Modernizr module, enabled with dgc_deploy.

jonraedeke commented 9 years ago

screen shot 2015-04-22 at 11 02 32 pm

touch_menu

timwood commented 9 years ago

Great solution. Thanks.