New Revised CSS Library Forums Web Tools
FAQs Awards Usage Terms Contact


<script language="javascript">

Auto center window script- Eric King (
Permission granted to Dynamic Drive to feature script in archive
For full source, usage terms, and 100's more DHTML scripts, visit

var win = null;
function NewWindow(mypage,myname,w,h,scroll){
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings =
win =,myname,settings)



<a href="" onclick="NewWindow(this.href,'name','400','400','yes');return false">Website Abstraction</a>