HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
Pop up whole screen window
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Frame
View previous topic :: View next topic  
Author Message
michael gallagh



Joined: 15 Oct 2004
Posts: 1

PostPosted: Fri Oct 15, 2004 11:55 am     Pop up whole screen window Reply with quote

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: 81
Location: Hyderabad, India

PostPosted: Fri Oct 15, 2004 10:59 pm     Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Frame All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial