Guide to creating a web site, web design, web development, internet marketing, promotion, html tips and tricks, javascript and more.

Your Guide to Professional
Web Site Design and Development

HTML Tips
HTML Codes
Web Development
Web Design Tips
JavaScript Codes
216 Web Safe Colors
CSS Tutorial
JavaScript Tutorial
ASCII Character Codes

Offering Free Javascript Tips, Snippets and Codes

Open Directory Projectfree ebooksfree articles
web site design development internet marketing and promotion tutorials

| Web Site Development | HTML Codes | HTML Tips | Web Design TipsJavascript Snippets | 216 Safe Colors | Symbols | CSS Tutorial | JavaScript Tutorial |

website design

Open a New Window With a Button

If you're looking for a JavaScript code that will enable you to open a new window with a button, this JavaScript code may be your answer.

This JavaScript code provides a great way for your visitors to open a window simply by clicking on a button. This is a great way to display tips, images, load a new web page, or whatever you'd like.


Click the above button to open a new window.

In addition to using this code within your web pages, you can also use it within your HTML ebooks, as long as your software supports JavaScript.

Place the following code where you would like the JavaScript button to appear:

<form>
<input type="button" value="Open Window"
onclick="window.open('http://www.domain.com')">
</form>

Edit the JavaScript code indicated in red to suit your needs.







Submit your JavaScript code snippets. We'll credit you and give you a link to your website.