If you're
looking for a JavaScript code that will enable you to open a window on page
load, this JavaScript code may be your answer.
This JavaScript code provides a great way for you to open an additional window
when your web page loads. This is a great way to provide your visitors with
special information, such as a sale, instructions, 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.
This example was displayed when this page was loaded. It creates a pop up
window that may be customized to any size you'd like.
Place the following
code under the <BODY> tag within your HTML:
<script
language="JavaScript">
<!--Script courtesy of http://www.web-source.net - Your Guide to Professional
Web Site Design and Development
window.open('http://www.yourdomain.com','windowname','
height='320,width=320,scrollbars,resizable');
// -->
</script> |
Edit the text
indicated in red to suit your needs.
|
|