Autorefresh to a full screen

They have: 9 posts

Joined: Apr 2001

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~

They have: 383 posts

Joined: Sep 2000

I think you'll need add an "onLoad" to you body tag and forget about the autorefresh.

They have: 9 posts

Joined: Apr 2001

Adam

Can you please go into more detail? I am not too hot with javascript. Thanks

~Vy~

They have: 9 posts

Joined: Apr 2001

Guys,

any chance of getting a response to this please if anyone knows?

Thanks

~Vy~

They have: 383 posts

Joined: Sep 2000

<HEAD>

&lt;script LANGUAGE="JavaScript"&gt;

function fullScreen(theURL) {
window.open(theURL, '', 'fullscreen=yes, scrollbars=auto');
}

&lt;/script&gt;

</HEAD>

<BODY BGCOLOR="#FFFFFF" TEXT="#000000" onLoad="fullScreen('yourfile.html');">
'

They have: 9 posts

Joined: Apr 2001

Thanks a lot Adam! That worked great!

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,

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's picture

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.

Smiling Suzanne

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.