I need a help. I was surching the JS sites, I found sone help, but still it was not possible for me to create a sctipt that:
1. redirect the browser (IE and NS);
2. opens the new window in a full screen mode
3. closes the old window
This is what I managed to write.
My questions are:
1. how to avoid (if possible at all) the alert, coming from self.close()
2. Is it possible to open an html file in fullscreen mode from the very begining? Thus I'll avoid the whole mess...
***********************
<HTML>
<HEAD>
<script LANGUAGE="JavaScript">
<!--
closeTime = "5000";
function closeTimer() {
setTimeout("newURL()",closeTime);
}
function newURL() {
newURLWindow = window.open("fontlist.htm","redirect","fullscreen=yes");
self.close()
}
//-->
</script>
<BODY onLoad="closeTimer()">
<center>
<H1>YOU WILL BE REDIRECTED; NEW WIDNOW WILL OPEN IN FULLSCREEN; PRESS ALT+F4 TO CLOSE IT!</H1>
</center>
Wneh I use this script in a html fime, there must be something, which I miss, because I always get the alert message:
this operation can only wfunction within HTML help?
Bookmarks