Here is a useful tutorial to explain the "in's and out's" of using and utilizing JavaScript spawned "Pop-Up Windows". Their exact identity and how to create them will be made very clear in all of twenty minutes. Here's what you'll find in this tutorial...
Pop-Up Windows vs. New Browsers...is there a difference?
How to use Pop-Up Windows
Syntax & Definitions
Some examples
Example 1
Example 2
Example 3
Tips & Tricks
Tips & Tricks #1
Tips & Tricks #2
Tips & Tricks #3 (most important)
In closing...Pop Up Windows vs. New Browsers...Is there a difference?
Right here and now I want to curve some possible areas of confusion. Now that we've determined that there is no difference (aside from a few attributes) between a "Pop-Up Window" and the "Browser Window", let me introduce this convention; When I refer to a "Pop-Up Window" I am talking about the ones that are similar to the ones that Geocities and other Ad Campaigns employ. And when I say "Browser Window" this refers to when you click on the "File / New" Button in your Menu Bar. Other than aesthetics, the two are exactly the same.
Now you should be asking yourself and me, "What 'aesthetic' differences are there?" or "What are 'aesthetic' differences?"
Basically, the "aesthetics" of something is it's appearance. How it looks, but nothing to do with what it does. The most common differences with these "Pop-Up Windows" are their Size, Menu Bars, Location Bars, Scrolling ability, and if it's Resizable or not. When you define a "Pop-Up Window" you can set all of these settings, and a few more.
Which brings us to...
How to Use Pop-Up Windows
If you hadn't noticed, this whole "Pop-Up Window" phenominon didn't appear until about 1995/1996, about the time of Netscape 3.0 came out, and when Java & JavaScript's capabilities were first hitting the internet with a profound impact. Do you think these occurances are all coincidences? Nope, they're not.
Reason: "Pop-Up Windows" are generated by using JavaScript code within your HTML document to generate a new Web Browser and Define it's attributes.
Here's the base code of how one looks:
<script language=JavaScript>
open("URL", "windowName", ["windowFeatures"])
</script>
2. If you fail to put any attributes in the "windowFeatures" portion of the code, then it is automatically set to "True" (true = 1 or yes). Therefore, writing every attribute with a 1 or yes is the same as leaving the entire field blank. (excluding width & height) Leaving the height or width attribute out of the code will open up a new window as large as it can.
3. The best way to answer this question is to give you a full example of code. That's what I'm going to do now.
Some Examples