Build Custom Menu with jQuery UI Selectmenu Widget
I read through the api document
http://api.jqueryui.com/selectmenu/, but failed to make a custom menu click-able/link to where I want? with using
https://wordpress.org/plugins/jquery-ui-widgets/screenshots/
in my plugin setting
- jQuery(document).ready(function($) {
- $( "#speed" ).selectmenu( "menuWidget" ); });
in my wordpress text widget setting
- <select name="speed" id="speed">
- <option value="Slower" selected>Slower</option>
- <option value="Slow">Slow</option>
- <option value="Medium">Medium</option>
- <option value="Fast">Fast</option>
- <option value=Faster">Faster</option>
- <option data-href="http://xxxxxxx/yyyyy/zzzzzzzz/business-finance">Shop Business & Finance</option>
- </select>
The dropdown custom menu widget at sidebar was success builded, but the line 7 (a category link) still cannot link to where I want?