<!-- RESIZEABLE POP-UP --> <!-- This goes in the HEAD of the html file --> <script language="JavaScript" type="text/javascript"> <!-- Copyright 2003, Sandeep Gangadharan --> <!-- For more free scripts go to http://sivamdesign.com/scripts/ --> <!-- function sizerWin() { CW=window.open('popup.html','NewWin','toolbar=no,menubar=no,location=no,resizable=yes,status=no,width=220,height=130,scrollbars=no') // change the figures of width and height above to customize the size of the window to be opened. CW.moveTo(100,100); // change the numbers in the brackets on the left to first open the pop-up in the desired position // these co-ordinates should be in sync with the co-ordiantes in the pop-up window as explaned below } // --> </script> <!-- This goes into the body of the file --> <a href="javascript:sizerWin();">Click</a> to open resizer pop-up. <!-- ======================================================================================= --> <!-- This goes in the HEAD of the html file that shall be the resizer pop-up --> <!-- This file should be named 'popup.html' --> <script language="JavaScript" type="text/javascript"> <!-- Copyright 2003, Sandeep Gangadharan --> <!-- For more free scripts go to http://sivamdesign.com/scripts/ --> <!-- function resizeWin() { window.setTimeout("window.resizeBy(250,-20); location.href='#a1'", 4000); // the # 4000 above means that the window changes size after 4 seconds... modify it to suit your needs } resizeWin(); // --> </script> <!-- This is to be included in the BODY of the resizer pop-up --> <body> <center> <table align="center" width="400"><tr><td align="center" width="200"> <font face="verdana, arial, helvetica, sans-serif" size="4" color="ff0000"> <b>Hello and<br />Welcome to....</b></font> </td><td align="center"> <a name="a1"> <font face="arial, helvetica, sans-serif" size="6" color="0000ff"> <b>Sandeep's<br /> Nook</b></font> </td></tr></table> </center>