Open a New Window With a Link

 

Open a New Window With a Link

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.
 
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 launched 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>

Edit the web address to suit your needs.

This concludes the Open a New Window With a Link code.

 
 

 
 
Visit the following pages for a wealth of copy and paste codes and tips:

HTML Tips
Copy and paste special effect HTML codes for your web page.

HTML Codes
An HTML codes chart you can use to copy and paste codes into your web page.

HTML Color Codes
An HTML color codes chart you can use to copy and paste color codes into your web page.

JavaScript Codes
Copy and paste special effect JavaScript codes for your web page.

Web Design Tips
Tips, tricks, and special effect codes for your web page.

HTML Tags
A list of HTML tags.

HTML 5 Tags
A list of the latest HTML tags to be developed.

ASCII Codes
Special text characters and code for your web page.