Opening Windows in a Specified LocationSometimes you want to open a window in a particular spot on the screen. In this example, you'll have your choice of opening a small window in any of the four corners of your screen. Like the previous example, we also provide a link to close the child window. The HTML is similar to previous examples, as shown in Script 6.12. As you would expect, each of the links is tagged with its own unique id. The JavaScript, in Script 6.13, builds on Script 6.11. Script 6.12. This script opens a child window at a specified screen location.
Script 6.13. This script adds window-moving capability to Script 6.12.To open a window in a particular location:
Tip
|