<!--CENTERED POP-UP--> <!-- This goes in the HEAD of the html file --> <script language="JavaScript" type="text/javascript"> <!-- Copyright 2001, Sandeep Gangadharan --> <!-- For more free scripts go to http://sivamdesign.com/scripts/ --> <!-- x = parseInt(window.screen.width) / 2 - 175; // the number 175 is the exact half of the width of the pop-up and so should be changed according to the size of the pop-up y = parseInt(window.screen.height) / 2 - 67; // the number 67 is the exact half of the height of the pop-up and so should be changed according to the size of the pop-up function centeredWin() { CW=window.open('window.html','NewWin','toolbar=no,menubar=no,location=no,resizable=no,status=no,width=350,height=135,scrollbars=no') // change the figures of width and height above to customize the size of the window to be opened. CW.moveTo(x,y); } // --> </script> <a href="javascript:centeredWin();">Click</a> to open small window. <!-- In this example the script above opens a window named 'window.html' which should be created and saved -->