Dropdown menus

Added by Brian Schwartz about 2 years ago

Here's a simple way to create a dropdown menu on your PubWriter page:

<form name="menuform">
<select name="menu2"
onChange="top.location.href = this.form.menu2.options[this.form.menu2.selectedIndex].value; return false;">
<option value="http://www.google.com" selected>Google</option>
<option value="http://www.yahoo.com">Yahoo</option>
<option value="http://www.amazon.com">Amazon</option>
</select>
</form>

Here's a sample in action:

http://demo.pubwriter.com/dropdown.md


Go to top