Opening A Menu Link In New Window

You can use JavaScript in DHTML Menu to open a link in a new window. You can even customize the new window. The menu below offers the following examples. Just place the JavaScript code in the Link field under Menu Item - General.

Open a standard window:

javascript:window.open("http://pittstop.com/","_blank")

Open an 800 x 600 window with scrollbar but no status or toolbar

javascript:window.open("http://pittstop.com/","_blank","width=800,height=600,status=no,toolbar=no,scrollbars=yes")

You can see the scripts in action by selecting one of the menu links below:

 


Close