Re: feature requests

From: Date: Wed, 12 Mar 2003 19:29:07 +0000
Subject: Re: feature requests
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-8589@lists.php.net to get a copy of this message
Take a look at this: <script language="JavaScript1.2"> /* Open Centered Popup Window Script- © DHTML Shock (www.dhtmlshock.com) To add more shock to your site, visit www.DHTML Shock.com */ function OpenBrWindow(theURL,winName,features, myWidth, myHeight, isCenter) { //v3.0 if(window.screen)if(isCenter)if(isCenter=="true"){ var myLeft = (screen.width-myWidth)/2; var myTop = (screen.height-myHeight)/2; features+=(features!='')?',':''; features+=',left='+myLeft+',top='+myTop; } window.open(theURL,winName,features+((features!='')?',':'')+'width='+myWidth +',height='+myHeight); } </script> Works great!

« previous php.smarty.general (#8589) next »