HTML Help Forum HTML Help
Please Search for the answer to your question before asking it! Thanks.
 

Pop up whole screen window
Post a Reply to this Topic Ask a New Question
Click here to go to the original topic
       HTML Help Forum -> HTML Frame
View previous topic :: View next topic  
Author Message
michael gallagh



Joined: 15 Oct 2004
Posts: 1

Posted: Fri Oct 15, 2004 11:55 am     Pop up whole screen window  

I am trying to make a pop up frame that blocks out all windows parameters, taskbar, buttons et cetera. My students need to be kept on task not able to go in chat. This is my code:
SCRIPT>
function OpenFullScreen() {
var www = null;
www = window;
if( parent.top != null) {
www = parent.top.window;
}
if(www != null)
if(www.name != 'kfullscreen') {
newWin = www.open(this.location,'kfullscreen','toolbar=no,menubar=no,scrollbars=yes,resizable=yes,location=no,directories=no,status=no');
newWin.resizeTo(800,550);
newWin.moveTo(0,0);
www.opener = 'yes';
www.close();
}else {
if (parent != null && parent.frames.length > 0) {
parent.location = this.location;
}
}
}
</SCRIPT>
<body>
<BODY onload="OpenFullScreen()">



</BODY>

It works with single frame but does not want to open frames.
Thanks
Michael
nagasree



Joined: 21 Sep 2004
Posts: 82
Location: Hyderabad, India

Posted: Fri Oct 15, 2004 10:59 pm      

If you do not want to open multilpe windows, this is what I understood and if it is correct, see my post for similar Q..

Not sure if this is what u are asking for or not.
http://www.htmlcodetutorial.com/help/viewtopic.php?t=354

I think that may give u an idea to fix the issue.

-Nagasree
 
 
DARFUR
HOSTING / DESIGN
MAKE MONEY

       HTML Help Forum -> HTML Frame
Page 1 of 1


Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.19 © 2001, 2002 phpBB Group