Hello this is a simple tutorial which shows how to add a popup window using javascript Add the below javascript code on your webpage.
<script language="javascript" type="text/javascript"> var win= null; function OpenNewWindow(mypage,w,h,myname){ var winl = (screen.width-w)/2; var wint = (screen.height-h)/2; settings='height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars=no,toolbar=no' win=window.open(mypage,myname,settings) if(parseInt(navigator.appVersion) >= 4){win.window.focus();} } // end script here -->
Now use this code to call the javascript function
<a href="#" onclick="OpenNewWindow('http://mistonline.in/','710','548','Loading');" > Popup Magic </a>
Here we are passing 2 arguments one is width which is 710 and height 548. You can customize those accordingly.