Click to See Complete Forum and Search --> : pop up window javascript
webguzs
04-29-2003, 08:36 AM
Im looking for the java script that launches a console and makes it so that it occupies the entire page. you cannot see the top or bottom link bars, only a html page.
can someone please assist me in finding it or emailing it to me?
Thanks
khalidali63
04-29-2003, 09:06 AM
Check this link out.
http://68.145.35.86/skills/javascripts/WindowOpenFullScreen.html
NOTE:
This link will close this window and open an other window taking up all of the availabale screen area.
Bootsman123
04-29-2003, 09:59 AM
Maybe you could take a look at this.
<html>
<head>
<script LANGUAGE="JavaScript">
<!-- Begin
var theURL = "pagina0.html";
var windowWidth = 800; // cannot be less than 100
var windowHeight = 600; // cannot be less than 100
var windowX = 0;
var windowY = 0;
var autocenter = true;
var autoclose = true;
var s="width="+windowWidth+",height="+windowHeight;
var beIE=document.all?true:false;
var done=new Object("no");
if(autocenter){
windowX = (window.screen.width-windowWidth)/2;
windowY = (window.screen.height-windowHeight)/2;
}
function doAgilePopup(){
if (beIE){
agilePopper = window.open("","popAgile","fullscreen,"+s);
agilePopper.resizeTo(windowWidth,windowHeight);
agilePopper.moveTo(windowX,windowY);
var frameString=""+
"<html>"+
"<head>"+
"<title>De laser</title>"+
"</head>"+
"<frameset rows='*,0' framespacing=0 border=0 frameborder=0>"+
"<frame name='top' src='"+theURL+"' scrolling=no>"+
"<frame name='bottom' src='about:blank' scrolling='no'>"+
"</frameset>"+
"</html>"
agilePopper.document.open();
agilePopper.document.write(frameString);
agilePopper.document.close();
}else{
agilePopper=window.open(theURL,"popAgile","scrollbars=no,"+s);
agilePopper.resizeTo(windowWidth,windowHeight);
agilePopper.moveTo(windowX,windowY);
}
if (autoclose){
window._onUnload = function(){agilePopper.close();}
}
done="okay";
}
// End -->
</script>
</head>
<body onLoad="doAgilePopup()">
</body>
</html>
webguzs
04-29-2003, 04:01 PM
yep that one works just fine. Thank you very much
Paul