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.
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.
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>
<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.
0 comments:
Post a Comment