This is a great script for using when you want to display new windows to visitors without closing the existing window. This is incredibly important, since many other types of link take your visitors away from your site, effectively increasing the chance of losing that person’s attention.
Here's how this script works.
You create a link and insert it into the page. When someone comes along and clicks on that link a new window, designed to your exact size specifications, will appear on the screen on top of the current window.
This kind of Pop-up window is very useful for such things as displaying guarantees, ordering instructions, special terms, additional selling points, etc.
Selecting this script from the list of scripts (how), and clicking the button loads the following screen:
Now, set the following values:
URL Link - Enter the url to which you want the link to go, http://www.yahoo.com for example. If you want to link to a page within the existing Web site or in any other Web site stored in XSitePro you can do so by clicking on the button.
Text for the link - Enter the text that will appear as the link on the page. The action of clicking on this text will itself ‘launch’ the new window.
Status Message - This is where you type the message that you want to have displayed in the visitor’s status bar whenever they hover their mouse pointer above the text link. This text is optional, but can be useful if you wish to give the visitor additional information before they click the link.
Width - This is the width that the new window will open at, in pixels.
Height - This is the height that the new window will open at, in pixels.
Note: A typical computer screen is 1024 pixels wide by 768 pixels high, which will give you a good idea of the limits for your new window size. If you want a window that is roughly a quarter of the screen you would specify a width of 512 pixels and a height of 384 pixels, but do remember that some visitors may have screens set as small as 800 pixels x 600 pixels (very few people are on anything smaller than this).
Show Menus - If you put a check in this checkbox the menu bar will display on the browser window that pops up – if you leave it unchecked the menu bar will not appear.
Resizable - If you put a check in this checkbox the window will be resizable. If you leave the checkbox unchecked people will not be able to adjust the size of the window in the normal way.
Pop Under - If you would like the window that pops-up to appear under the existing browser window put a check in this checkbox, otherwise it will appear on top by default. This will have the resultant effect of the new window being ‘revealed’ only when the existing window is closed.
This might be useful, say, if the visitor wishes to view additional information later – without losing focus on the current page (perhaps printable travel directions, or a printable recipe – neither of which are required for immediate reading, and could perhaps be printed on leaving the site).
Show Scrollbars - If you put a check in this checkbox the horizontal and vertical scroll bars will display on the browser window that pops up.
Once you have set the values above, simply click the button to insert the script into your Web page at the cursor-point.