How to Create a PopUp Window in HTML

html popup window code
To create a popup window in HTML, use the following code. Edit the link accordingly to make it work in your website. Highlighted text is for basic customizations.

Popup windows are necessary for all websites and blogs when there is a small or temporary webpage on the site needed by the visitor. They are customized windows, in which you can make great customizations. To make a popup link in your website, paste the code in your webpage. The highlighted "About" will be the link which will open the popup window on click and the highlighted links will be the links to your pages which will be opened in popup window. 

Here is the code for you

<a href="http://www.yourweblog.com/yourfile.html" onclick="window.open('http://www.yourweblog.com/yourfile.html','popup','width=500,height=500,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false">About</a>

Labels: