Search this site!

Return to the CSB Support home page
Pop Up 1   |   Pop Up 2   |   Pop Up 3   |   Pop Up 4   |   Pop Up 5   |   Pop Up 6   |   Pop Up 7   |   Pop Up 8
Pop Up 2
Description:
This is virtually the same as Pop Up Window 1, except that we will use set some of the options to allow the person viewing your site to move or size the pop up window!
How to use:
Create a page with the text to appear in the pop up window:

1. Create a new Trellix page with no frames or borders, just a page body.

2. Type in the text you wish to appear in the popup window

3. When finish, be sure to select Page Properties and give your page a short title, like: "popuptext".  This will allow you to reference this page as "popuptext.htm".

Insert the script provided:

1. Cut and paste the code provided below into a BYOWG

2. Edit the script to reflect the name of the page contain your popup text

3. Also change the text that will appear on your page that will be clicked.

Publish and enjoy!
Example:
Download the code
right click on link, then click on 'Save target (or frame) as'
Other information:
When you look at the script, it actually is very simple.

You have an "open" statement with several parameters including: the name of the page with information to display, several switches, then parameters that control how big or small the pop up window should be.

After that you have the phrase that will appear which you will want people to click on in order to have the window pop up.

Source code:

<A HREF="javascript:void(0)"
UNCLICK="open('popuptext.htm', 'minion', 'toolbar=1, location=1, directories=1, status=1, member=1, scrollbars=1, resizable=1, width=300, height=300')">Click here to open a window with all options turned ON</A>