Snap Builder Public Codes Library
Snap | Generators | Login | Browse | Search | Enter Code | Export Snap Builder Public Codes Library


Category: Javascript Codes Library >> Navigation / Menus >> Select Menu Popup Sized Window

Code Snippet </> Info

Snippet Name: Select Menu Popup Sized Window

Description: 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

Note: Adjust the menubar=0, toolbar=0, etc... and width & height to your specifications. Add as many links as you need.

Author: SnapBuilder <>

Last Modified: 2019-12-10 00:27:37

Language: javascript

Highlight Mode: javascript

Copy Codes: Use Free Notepad ++
Bookmark and Share

Snap HTML Code Editor:
Paste the source code, make changes and instantly see it in live preview.
Snap HTML Code Editor

  About Copying
Copied To Clipboard!

<html> <head> <title>Select Menu Popup Sized Window Javascript Code Snippet</title> </head> <body> <script> // Begin Select Menu Popup Sized Window from 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[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=""></option> <option value=""></option> <option value="">Netscape</option> <option value="">InfoSeek</option> </select><input type="button" value="Go!" onClick="surfto(this.form)"> </form> </center> <br /> <p>[ YOUR CONTENT GOES HERE ]</p> </body> </html>

[ Snippet Options ]


© 2002 -  Snap Builder Public Codes Library