Customizing the Window
Unless you want your pop-up window to display updates from the kirupa.com site, you probably want to modify the window size, content it loads, and the window's attributes such as toolbars, etc. The following information should help you to customize the window.
Right click on your button and select Actions. You will see in the first few lines, that I mentioned the property and its value. To change the URL of the page that gets opened, simply change the text in quotation marks after the word "address". To enable a property that is disabled like displaying the status bar, find the line that says "status =" and change the 0 to a 1. Simple as that. I will explain what each variable stands for in the real world:
The address is the path to the page you want to have opened in the pop-up window.
This is the name of the window that will be opened. If you are familiar with frames, you will know that each frame-page has a name attached to it. When you link, you specify the name of that frame to load a page into.
This tag works very similar for the pop-up window. If you want anything to be loaded into the window, you would target the window name you specify. You don't have to worry about this tag unless you are familiar with HTML. Just enter a word and move on!
Here is where you would specify the width of the window that appears.
Here is where you would specify the height of the window that appears.
Specifies whether you want the pop-up window to display the browser's toolbar with the back/forward buttons.
|» Level Intermediate|
Rating: 9 Votes: 66
|Download the files used in this tutorial.|
|Download (7 kb)|
|More help? Search our boards for quick answers!|