Place somewhere in the HEAD tags:
<script language="JavaScript">
function formHandler(form) {
var windowprops = "toolbar=yes,location=yes,status=yes,menubar=yes,
scrollbars=yes,resizable=yes,width=500,height=500";
var URL = form.site.options[form.site.selectedIndex].value;
popup = window.open(URL,"MenuPopup",windowprops);
}
</script>
Place in menu location:
<form name=form>
<select name="site" size="1" onChange="formHandler(this.form)" style="background-color: FFFFF; color: 00000; font-size:10pt;">
<option selected>YOUR MENU DESCRIPTION</option>
<option value="YOUR LINK">YOUR LINK DESCRIPTION</option>
</select>
</form>
Related posts:
- Advertising Advertising is currently available in the top (middle) sidebar. 4...
- Anchor Links in WordPress Posts – another shortcode solution I was recently asked by a client how they could...
Related posts brought to you by Yet Another Related Posts Plugin.
scriptygoddess
