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 1
Description:
You've seen those web sites where a small pop up window appears when you click on a certain link.  Here's one version of such a feature, from our good friends at Bravenet!

Update 1/25/2002:  See PopUp Window 6 for a version of this script thatuses an image for the link!
How to use:
Create a page with the text to appear in the pop up window:

1. Create a new CSB/Trellix Web 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 Insert >HTML Code (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)"
ONCLICK="open('popuptext.htm','miniwin','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=300,height=300')">Click here to open a window with all options turned off</A>