Select Menu Popup Sized Window - A select menu with complete control of window size and toolbar options.
Compatible Browsers:
Chrome BrowserFirefox BrowserInternet Explorer BrowserOpera BrowserSafari Browser
Example: View Code Demo
<html> <head> <title>Select Menu Popup Sized Window Javascript Code Snippet</title> </head> <body> <script> // Begin Select Menu Popup Sized Window from https://snapbuilder.com Free Public Codes Library // Free to use as long as the credit lines remain in place <!-- Hide the script from old browsers -- function surfto(form) { var myindex=form.dest.selectedIndex // Change the attributes that read menubar=0,toolbar=0, etc... and width & height to your specifications window.open(form.dest.options[myindex].value,"main","menubar=1,toolbar=0,location=0,directories=0,status=1,copyhistory=0,width=500,height=535"); } //--> </script> <center> <form name="myform"> <select name="dest" size="1"> <option value="https://snapbuilder.com">SnapBuilder.com</option> <option value="https://www.google.com">Google.com</option> <option value="http://www.netscape.com">Netscape</option> <option value="http://www.infoseek.com">InfoSeek</option> </select><input type="button" value="Go!" onClick="surfto(this.form)"> </form> </center> <br /> <p>[ YOUR CONTENT GOES HERE ]</p> </body> </html>