Is this older code still correct for a pop-up?
I have "resize=no" down but it's letting me resize it.
I'm not an expert. I copied this from somewhere long ago.
Code:<script type="text/javascript"> <!-- function OpenBrWindow(theURL,winName,features, myWidth, myHeight, isCenter) { //v3.0 if(window.screen)if(isCenter)if(isCenter=="true"){ var myLeft = (screen.width-myWidth-50)/2; var myTop = (screen.height-myHeight-50)/2; features+=(features!='')?',':''; features+=',left='+myLeft+',top='+myTop; } window.open(theURL,winName,features+((features!='')?',':'')+'width='+myWidth+',height='+myHeight); } //--> </script>THANKS.Code:<a href="#" onClick="OpenBrWindow('pop.html','','toolbar=no, location=no, status=no, menubar=no, scrollbars=yes, resizable=no','634','658','true');">Pop Up.</a>



Reply With Quote



Bookmarks