Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

Q337 How do I make a popup window from a dropdown menu?

You are here: irt.org | FAQ | JavaScript | Window | Q337 [ previous next ]

<SCRIPT LANGUAGE="JavaScript"><!--
var windowHandle = '';

function go(what) {
    windowHandle = window.open(what[what.selectedIndex].value,'windowName','toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=640,height=480');
}
//--></SCRIPT>

<FORM>
<SELECT NAME="mySelect">
<OPTION VALUE="http://www.irt.org">Internet Related Technologies
</SELECT>
<INPUT TYPE="BUTTON" VALUE="go" onClick="go(this.form.mySelect)">
</FORM>

Feedback on 'Q337 How do I make a popup window from a dropdown menu?'

©2018 Martin Webb