Ideal for building responsive menus, this plugin will automatically take a collection of links arranged into a list and add them as options to a dropdown select.
This happens only when the page width goes beyond a certain point and is perfect for converting wide menus into mobile friendly navigational elements.
When selecting one of the options from the dropdown, the user will be automatically redirected to the link corresponding to that option.
Various plugin options and callback functions are available, all detailed in Harmonia's README file.
A simple jQuery Harmonia demo is included with the download package, but with a minimal UI style. This means some CSS coding might be required to integrate it with an existing project.
What is new in this release:
- Added Grunt build tools.
- Removed /harmonia/jquery.harmonia.min.js.
- Moved /harmonia/jquery.harmonia.js to /harmonia/build/jquery.harmonia.js.
- Updated index.html to use new min file (the one generated by build process).
- Removed version numbers from file names.
- Updated jQuery version to latest in /demo/index.html.
- Added respond.js.
- Moved styles to demo.css.
- Removed type="text/javascript".
- Updated license.
- Removed TODO.html.
- Updated README.html with docs and examples.
- Removed type="text/javascript".
- Using concat for the copy and banner creation.
- Updated closure with $, window, document, undefined.
- Updated code to handle console statements better.
- Ditched the constants object.
- Updated if statements to use curly braces.
- Several other linting-related (minor) changes/tweaks.
- Using "one var per block".
- Moved build folder to root level (allows for demo and harmonia folders to be more portable).
Requirements:
- JavaScript enabled on client side
- jQuery
Comments not found