If you would
like to open a new window with a link within your web page, this JavaScript
code may be what you're looking for.
You can open a new customized window within your web page that is opened
via a standard HTML link like this:
Open
Window
Click the above
link to open a new window
This 'open a
window with a link' code has a variety of uses, such as providing your visitors
with additional information in regard to a specific subject, displaying an
image slideshow, tips or whatever you'd like.
As this pop up window JavaScript code is lauched via a link and not on page
load, it will be much more accepted by your visitors.
Place the following
code between your HEAD tags.
<Script
Language="JavaScript">
<!-- Script courtesy of http://www.web-source.net - Your Guide to Professional
Web Site Design and Development
function load() {
var load =
window.open('http://www.domain.com','','scrollbars=no,menubar=no,height=600,width=800,resizable=yes,toolbar=no,location=no,status=no');
}
// -->
</Script> |
Carefully edit the text indicated
in red to suit your needs.
Create the link to open your new window like this:
<a
href="javascript:load()">Open Window</a> |
|
|