Metachecker.net
|
TrafficChecker.net
|
RankChecker.net
Learn Java Script Today
|
Over 5000 Free Fonts
|
Tutorials
|
Javascript Forum
|
Other Javascript Resources
|
Cheat Sheet
JavaScript Basics
Inserting Javascript
Complete Tutorial
Advance DHTML Tutorial
Script archive
Advanced Tutorials
Alert Scripts
Animation
Audio
Background Effects
Banner Ads
Browser Window
Buttons
Button Forms
Calculcators
Calendars
Clocks & Dates
Cookies
Cursor Effects
DHMTL Games
DHTML Miscellaneous
Equivalents
Forms
Games
IE4+ Scripts
IE5+ Scripts
Image Effects
Image Miscellaneous
Links & Buttons
Math Related
Messages Miscellaneous
Miscellaneous
Mouse Tricks
Navigation
Page Details
Password Protection
Pulldown Menus
Random Stuff
Scrolling
Status Bar
Text Animation
User Detail
User Info
Window Control
Window Position
Do you not where window.open() opens your new windows? Using this JavaScript, you can actually have the new window open wherever you want! Look at our example to see what we mean! Really neat!
Open Window
Insert into <HEAD>
<SCRIPT LANGUAGE="JavaScript"> <!-- Begin function win() { msg=window.open("","msg","height=200,width=200,left=80,top=80"); msg.document.write("<html><title>Windows!</title>"); msg.document.write("<body bgcolor='white' onblur=window.close()>"); msg.document.write("<center>page content here</center>"); msg.document.write("</body></html><p>"); // If you just want to open an existing HTML page in the // new window, you can replace win()'s coding above with: // window.open("page.html","","height=200,width=200,left=80,top=80"); } // End --> </script>
Insert into <BODY>
<center> <form> <input type="button" value="Open Window" onclick="win()"> </form> </center> <!-- Or you may use: <a href="javascript:win()">Open Window</a> -->
Other Options