JavaScript |
Click HERE to view the Pop-Up Window |
Instructions |
1. Create your html pop-up window page and give it a name. The name of the html page for this sample is web_notice.htm. (see name in code) |
2. Create your second page and put the script below in the head section of your page. |
<!-- To add comments --> <script language="JavaScript"> function WebNotice() { window.open('web_notice.htm','web_notice','toolbar=no,location=no, </script> |
3. Create a button or link in the body of your page & use this script: |
<a href="javascript:WebNotice()">Your Link</a> |