Closed (fixed)
Project:
Nice Menus
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
26 Jul 2012 at 17:01 UTC
Updated:
31 Jan 2015 at 05:04 UTC
Jump to comment: Most recent
Comments
Comment #1
deggertsen commentedI did what you want to do by adding the following code to my template.php file. You have to add the jquery.mobilemenu.js (https://github.com/mambows/mobilemenu) to your theme's js folder as well. It would be good to have some responsive themeing like this build into Nice Menus.
Obviously you can change the width at which the site changes the menu to a select menu and you can change the top option text.
Comment #2
deggertsen commentedOops, I posted the wrong link to the mobilemenu javascript library. Here's the correct one. https://github.com/mattkersley/Responsive-Menu
Comment #3
tripper54 commented@deggertsen, thanks for the heads up, that's a great little library. It solved my problem perfectly.
Someone should make a module for it...
:)
Comment #4
xiukun.zhou commented