Quick Jump Menu
Better than auto-jump. This version of the jump menu includes a "Go" button, which is more accessible and user-friendly than instant redirection on selection.
Copy the Script
<script>
function jump() {
var select = document.getElementById("menu");
var url = select.options[select.selectedIndex].value;
if(url) window.location = url;
}
</script>
<select id="menu">
<option value="page1.html">Page 1</option>
<option value="page2.html">Page 2</option>
</select>
<button onclick="jump()">Go</button>
Frequently Asked Questions
Yes. Unlike `onchange` menus which can be disorienting for keyboard users, this version uses a separate 'Go' button, allowing users to confirm their choice before moving.
Yes. You can use standard `
Yes. You can target specific frames by changing `window.location` to `parent.frames['name'].location`.