This can be done using the Custom Script Assistant in WebEasy Professional.


Solution


1) In WebEasy, go to the page that you want the other window to open from.
2) Go to the "Tools" menu and select "Custom Script Assistant".
3) Select the "Body Events" button.
4) Enter the following code in the "Contents" box:


onload="window.open('http://www.v-com.com', 'myNewWindow', 'resizable=yes,scrollbars=yes,status=yes,width=620,height=420').focus();"


5) Click OK.


This will cause the page at http://www.v-com.com to open in a new window. However, you may want to open a page of your own site - you can do this by replacing 'http://www.v-com.com/' with the appropriate page name, such as 'mysite_003.htm'.


To create a link that closes the current window, do the following:


1) Add some text or an image to your page - this will become the link
2) Select the item on your page and click the "Links" button in the top toolbar
3) Select the "Internet" tab
4) Select the "Script" button
5) In the "Script" box, enter the following code:


href="javascript:void(window.close());"


6) Click OK.


To make a window close after a certain time, do the following:


1) In WebEasy, go to the page that you want to have close automatically.
2) Go to the "Tools" menu and select "Custom Script Assistant".
3) Select the "Body Events" button.
4) Enter the following code in the "Contents" box:


onload="setTimeout('window.close();', 5000);"


...but replace 5000 with the number of milliseconds you want the window to be open for.


5) Click OK.


These techniques use JavaScript to open and close browser windows. There are some good JavaScript tutorials available at http://www.wdvl.com/ if you would like to learn more about this language.