Forums
This topic is locked
Java Popup
Posted 16 May 2003 02:52:59
1
has voted
16 May 2003 02:52:59 Paul Moran posted:
Hi All,What code do i need to get a popup window where i can control the size and position of the window from a link ?
Cheers for your help
Paul
Replies
Replied 16 May 2003 04:12:44
16 May 2003 04:12:44 james crellin replied:
You want to use the option from the "behaviors" menu. Follow these steps.
1) Highlight the text or select the image that you want to link to the pop up window.
2) In the properties box enter the # symbol. This will link the page to itself and not actually go anywhere.
3) With the text or image still selected, go to the behaviors panel and select the big <b>+</b> symbol to open the menu. From the menu, choose the "Open Browser Window" option.
4) You should then have the dialoge box for setting the popup properties. It should look like this:
<img src="www.syndicprint.com/o_chacon/openBrows.gif" border=0>
5) Fill in the location of the page that you want to open or browse your sites folder and locate the page.(make sure is on your server)
6) Then define the dimensions for the window size.
7) Select the attributes that you want the window to offer. Play around with them if you don't know what they all do.
8) Name the pop up something. Usually it has to be all one word with no special characters.
9) After clicking the "OK" button, check your behaviors panel to make sure that it says "onClick". If it does not then select that event and click on the triangle pointing downwards and choose "onClick" (play with the other options if you want something else).
10) Finally, save your document and press F12 to preview your document and test your link in a browser.
That should do it. I hope it makes sense and helps you.
-- Saleblitz
<img src="www.syndicprint.com/o_chacon/jtc_sig.gif" border=0>
"The greatest trick the devil ever pulled was convincing the world he didn't exist." =- The Usual Suspects
1) Highlight the text or select the image that you want to link to the pop up window.
2) In the properties box enter the # symbol. This will link the page to itself and not actually go anywhere.
3) With the text or image still selected, go to the behaviors panel and select the big <b>+</b> symbol to open the menu. From the menu, choose the "Open Browser Window" option.
4) You should then have the dialoge box for setting the popup properties. It should look like this:
<img src="www.syndicprint.com/o_chacon/openBrows.gif" border=0>
5) Fill in the location of the page that you want to open or browse your sites folder and locate the page.(make sure is on your server)
6) Then define the dimensions for the window size.
7) Select the attributes that you want the window to offer. Play around with them if you don't know what they all do.
8) Name the pop up something. Usually it has to be all one word with no special characters.
9) After clicking the "OK" button, check your behaviors panel to make sure that it says "onClick". If it does not then select that event and click on the triangle pointing downwards and choose "onClick" (play with the other options if you want something else).
10) Finally, save your document and press F12 to preview your document and test your link in a browser.
That should do it. I hope it makes sense and helps you.
-- Saleblitz
<img src="www.syndicprint.com/o_chacon/jtc_sig.gif" border=0>
"The greatest trick the devil ever pulled was convincing the world he didn't exist." =- The Usual Suspects