Open a new window on click
The Following effects will only work with the following browsers only.
Sometimes you may want to display user some information but doesn’t want them to navigate away from the current page especially when you want to display the terms before the user agrees to it. Here is the java script that you can use which does not need any external files to work.
You can also change the availability of the tools in the new window.
toolbar=yes/no according to your choice the toolbar will be avalible.
scrollbars=yes/no according to your choice the scroll bar will be avalible.
1.No tool bar
2.No tool bar and scroll bar
3.with tool bar and scroll bar
Note : All the above fuction like scrollbar and other are not supported by all the browser.
To close keep a button to close the new oped window put this script
<a width="7%" onclick="self.close();">Close X </a>