JavaScript Source Code 3000: Navigation: New Window
New Window
Do you have a link that you'd rather have open in a new window? This little script will do just that! You can even use a button or a text link to open the new window! Check out the example and see what you think!
or Open yahoo.com in a new window
JavaScript Source Code 3000: Navigation: New Window Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as NotePad or SimpleText) and save (Control-s or Apple-s). The script is yours!
<!-- TWO STEPS TO INSTALL NEW WINDOW:
1. Copy the first coding into the HEAD of your HTML document 2. Paste the last code in the BODY of your HTML document -->
<!-- STEP ONE: Copy this code into the HEAD of your HTML document -->
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
<! > <! >
<!-- Begin function Start(page) { OpenWin = this.open(page, "CtrlWindow", "toolbar=yes,menubar=yes,location=yes,scrollbars=yes,resizable=yes"); } // End --> </SCRIPT>
</HEAD>
<!-- STEP ONE: Paste this code into the BODY of your HTML document -->