Autorefresh to a full screen
Hi,
I was wondering if someone could help me here. I want to have a blank page autorefresh to a full screen page. I know the script to open a new window in full screen(ie no browser buttons) I just can't incorporate the link into the autrefresh. Have a look:
Vpn Autorun forwarder
<script language="JavaScript1.2">
</script>
The page I want it to autorefresh to is index.html
Can anyone help?
Thanks
~Vy~
Adam Oberdorfer posted this at 19:08 — 11th April 2001.
They have: 383 posts
Joined: Sep 2000
I think you'll need add an "onLoad" to you body tag and forget about the autorefresh.
Vy23 posted this at 00:54 — 12th April 2001.
They have: 9 posts
Joined: Apr 2001
Adam
Can you please go into more detail? I am not too hot with javascript. Thanks
~Vy~
Vy23 posted this at 14:51 — 13th April 2001.
They have: 9 posts
Joined: Apr 2001
Guys,
any chance of getting a response to this please if anyone knows?
Thanks
~Vy~
Adam Oberdorfer posted this at 21:04 — 13th April 2001.
They have: 383 posts
Joined: Sep 2000
<HEAD>
<script LANGUAGE="JavaScript">
function fullScreen(theURL) {
window.open(theURL, '', 'fullscreen=yes, scrollbars=auto');
}
</script>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000" onLoad="fullScreen('yourfile.html');">
Vy23 posted this at 13:44 — 16th April 2001.
They have: 9 posts
Joined: Apr 2001
Thanks a lot Adam! That worked great!
Vy23 posted this at 13:58 — 16th April 2001.
They have: 9 posts
Joined: Apr 2001
Ok I just noticed. Even though this works perfect, it is opening the page as a new page and not closing the original page. This means that when I close the fullscreen windows (by using a script) I still get the original empty window in the background. Is there anyway of getting this to load the fullscreen in _parent or closing the original window down on onload?
Thanks again,
caislander posted this at 00:56 — 17th April 2001.
They have: 30 posts
Joined: Oct 2000
Vy23,
I am not great with javascript either but I think if you add window.close() to the body tag like this that it shpould do what you want..
Hope That Helps
CaIslander
From The Land Of SunShine, Surf & Code
WebXpertz Community Forums for Webmasters & Developers
Suzanne posted this at 01:09 — 18th April 2001.
She has: 5,507 posts
Joined: Feb 2000
Which is a good thing because you mess with people's history and back button if you close the window.
However, the user will get a dialogue box asking if closing the window is okay. It is up to the user to determine whether the window will close or not.
This is why most sites using this concept have the "blank" page have the company name and contact information and a link to use if a window hasn't popped up or the user accidentally deleted it thinking it was an ad, rather than trying to close the window.
Suzanne
Adam Oberdorfer posted this at 01:12 — 18th April 2001.
They have: 383 posts
Joined: Sep 2000
Full screen sites are also annoying unless you give them the option.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.