doubleT
09-28-2002, 11:49 PM
<script>
var doPopUpX = (screen.width/2)-800;
var doPopUpY = (screen.height/2)-400;
var pos = "left="+doPopUpX+",top="+doPopUpY;
function doPopUp(){
doPopUpWindow = window.open("http://a.com/abc.html","ABC","width=600,height=800,"+pos);
}
</script>
Hey people, that a popup window when I click a link, but I can't make it a whole screen. how do I make it to fit the screen. Like center and then fit the whole screen? :confused:
var doPopUpX = (screen.width/2)-800;
var doPopUpY = (screen.height/2)-400;
var pos = "left="+doPopUpX+",top="+doPopUpY;
function doPopUp(){
doPopUpWindow = window.open("http://a.com/abc.html","ABC","width=600,height=800,"+pos);
}
</script>
Hey people, that a popup window when I click a link, but I can't make it a whole screen. how do I make it to fit the screen. Like center and then fit the whole screen? :confused: