Script Categories

Menus and Navigation >>> Menu Popup.

After the user selects an option in the pulldown menu, the new page opens in a new window! This is useful when linking to sites not within your site when you do not want the user to leave your site. Your site will remain open in the other window so the visitor can come back to it when the are finished with the popup page. You can even control the size of the popup window, whether it has scrollbars, menubars, toolbars, etc.

Add the below code to the <body> section of your page:

<script language="javascript" type="text/javascript">      
/* Visit for full source code
and get more free JavaScript, CSS and DHTML scripts! */
<!-- Begin
function formHandler(form) {
var windowprops = "height=500,width=500,location=no,"
+ "scrollbars=no,menubars=no,toolbars=no,resizable=yes";

var URL =[].value;
popup =,"MenuPopup",windowprops);
// End -->
<form name=form>
name=site SIZE=1 onChange="formHandler(this.form)">
value="">Go to....
<option value="">Yahoo
<option value="">Metacrawler
<option value="">Altavista
<option value="">Webcrawler
<option value="">Lycos
<option value="">JavaScript Editor

JavaScript Editor Get Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.

Code was highlighted by 1st JavaScript Editor (The Best JavaScript Editor!).