 |
|
|
| 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: 81 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 |
|
|
|
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
|
|
|
|
|
 |
|
|
|
|
|
|
|