Site hosted by Angelfire.com: Build your free website today!
Pop Up Windows

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

HUH? What the heck does that mean?

There should be only a few things that aren't 100% clear at this point:
  1. What are the [=yes / no] or [1 / 0] things?
  2. What if I don't put any values in the "windowFeatures" section?
  3. How do I add those windowFeatures if I wish to have more than one referenced?
1. Let us say that you have the toolbar feature and you wish to turn it off. You could either put toolbar=no or toolbar=0 (0 the number, not O the lettter). Well, the yes/no part should make perfect sense to you. It's pretty straight forward. The 1/0 is a bit more involved. Basically it's Binary Logic. 1=yes and 0=no. I have absolutely no intention what-so-ever of getting further into that subject, so please take what I'm saying at face value and accept it!

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

 

Tips & Tricks

 

In Closing...