You are here

README.txt in Mobile Navigation 8

Same filename and directory in other branches
  1. 7.2 README.txt
  2. 7 README.txt
Mobile Navigation module


Experimental Project

This is a sandbox project, which contains experimental code for developer 
use only.
Visit the Version control tab for full directions.

About
-----
Mobile Navigation helps you easily implement a nice solution for displaying 
menus on the mobile version of a responsive website.
I have found many ways of doing this out there, but they are not precisely 
the best solution regarding performance or they need the work of implementing
a third party JQuery plugin or having to learn javascript and programming the
whole thing.
With this module you may only need to install the module as usual and then 
out of the box have all that is needed to implement a mobile version for menus,
featuring some simple configurations that will let you personalize the behavior
of this mobile versions.

Installation instructions
-------------------------
1. Download and extract the Mobile Navigation Module into the modules directory.
2. Go to /admin/config/user-interface/mobile_navigation. Configure.

Currently Mobile Navigation only gets along with menus that uses tag < ul > for
the menu and < li > for menu items.
Mobile Navigation module uses some Javascript to clone the current menu of your
website and creates a version of it with a diferent behavior adapted to mobile.

At the Mobile Navigation configuration page you can administer Mobile 
Navigation settings.
You must set two parameters for the transformation to take place:

    A Media Query for the breakpoint. this media query must reflect the range 
    in which you don't want the mobile version to show up, that is the not 
    Mobile Range of your website. The reason for this is that Media Queries 
    are pretty complex stuff and usually responsive themes don't have mobile 
    media query, they have media queries for the NOT MOBILE displays, so you 
    can easily copy this media query from your preferred theme configuration,
     being Omega, Adaptative, any responsive theme.)
    The other parameter that must be defined is the Menu Element Selector. 
    By default this value is "#main-menu-links". That's the selector for the
     menu the Bartik theme has by default(Bartik is the default Drupal 7 theme).
    When using other menu configurations or modules(Superfish, Megamenu, any 
    module you like or the Drupal main menu), you'll have to check for the 
    corret selector, that might be #supefish-1, #megamenu-menu, 
    #navigation .menu, etc.

Additionaly there is the Mobile navigation behaviors configuration:

    Select a plugin for the menu. Currently suported plugins: Basic: Simply 
    slide showing the menu, without any special behavior on its contents.
    Accordion: Show menu and its submenus in a organized accordion structure. 
    (Applies only when the menu includes submenus.
    For the accordion plugin, you can set persistance of opened items so you 
    can have many submenus opened, or you may permit only current active 
    trail to be oppened, so when you open a submenu, any other opened submenu
    will automaticaly close.
    There is an option on the way the menu shows up, the location and the 
    direction.
    finally there is the option to have a tab handler attached to the menu.

New features on the way.

    Multiple menus with diferent configurations.
    More plugins.
    a lot more to come...

Enjoy!

File

README.txt
View source
  1. Mobile Navigation module
  2. Experimental Project
  3. This is a sandbox project, which contains experimental code for developer
  4. use only.
  5. Visit the Version control tab for full directions.
  6. About
  7. -----
  8. Mobile Navigation helps you easily implement a nice solution for displaying
  9. menus on the mobile version of a responsive website.
  10. I have found many ways of doing this out there, but they are not precisely
  11. the best solution regarding performance or they need the work of implementing
  12. a third party JQuery plugin or having to learn javascript and programming the
  13. whole thing.
  14. With this module you may only need to install the module as usual and then
  15. out of the box have all that is needed to implement a mobile version for menus,
  16. featuring some simple configurations that will let you personalize the behavior
  17. of this mobile versions.
  18. Installation instructions
  19. -------------------------
  20. 1. Download and extract the Mobile Navigation Module into the modules directory.
  21. 2. Go to /admin/config/user-interface/mobile_navigation. Configure.
  22. Currently Mobile Navigation only gets along with menus that uses tag < ul > for
  23. the menu and < li > for menu items.
  24. Mobile Navigation module uses some Javascript to clone the current menu of your
  25. website and creates a version of it with a diferent behavior adapted to mobile.
  26. At the Mobile Navigation configuration page you can administer Mobile
  27. Navigation settings.
  28. You must set two parameters for the transformation to take place:
  29. A Media Query for the breakpoint. this media query must reflect the range
  30. in which you don't want the mobile version to show up, that is the not
  31. Mobile Range of your website. The reason for this is that Media Queries
  32. are pretty complex stuff and usually responsive themes don't have mobile
  33. media query, they have media queries for the NOT MOBILE displays, so you
  34. can easily copy this media query from your preferred theme configuration,
  35. being Omega, Adaptative, any responsive theme.)
  36. The other parameter that must be defined is the Menu Element Selector.
  37. By default this value is "#main-menu-links". That's the selector for the
  38. menu the Bartik theme has by default(Bartik is the default Drupal 7 theme).
  39. When using other menu configurations or modules(Superfish, Megamenu, any
  40. module you like or the Drupal main menu), you'll have to check for the
  41. corret selector, that might be #supefish-1, #megamenu-menu,
  42. #navigation .menu, etc.
  43. Additionaly there is the Mobile navigation behaviors configuration:
  44. Select a plugin for the menu. Currently suported plugins: Basic: Simply
  45. slide showing the menu, without any special behavior on its contents.
  46. Accordion: Show menu and its submenus in a organized accordion structure.
  47. (Applies only when the menu includes submenus.
  48. For the accordion plugin, you can set persistance of opened items so you
  49. can have many submenus opened, or you may permit only current active
  50. trail to be oppened, so when you open a submenu, any other opened submenu
  51. will automaticaly close.
  52. There is an option on the way the menu shows up, the location and the
  53. direction.
  54. finally there is the option to have a tab handler attached to the menu.
  55. New features on the way.
  56. Multiple menus with diferent configurations.
  57. More plugins.
  58. a lot more to come...
  59. Enjoy!