Transform a collection of links in an element into a select box for easy navigation on mobile.
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
public
README.md
jquery-linkselect.js

README.md

jQuery-linkselect

Transform a collection of links in an element into a select box for easy navigation on mobile.

How to use

You can use this on every block that contains links:

$('your-selector').linkselect();

To undo the plugin behaviour, you can run a destroy function:

$('your-selector').linkselect('destroy');

Extra features

  • Sorts your links alphabetically
  • Removes duplicate links
  • Undo plugin behaviour