Mobile Select / Option Nav
<script src="http://code.jquery.com/jquery.js"></script>
<script>
// DOM ready
$(function() {
//dropdown
// Create the dropdown base
$("nav select").change(function() {
window.location = $(this).find("option:selected").val();
});
});
</script>
<nav><select><option value="">NAVIGATION</option>
<option value="">LINK</option>
</select></nav>
Written by Wayne Roddy
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Mobile
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#