Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Auto redirect to new page in full screen mode

Status
Not open for further replies.

ChrisBurch

IS-IT--Management
Jul 3, 2001
184
AU
Hi all,

I'm building a slide show via HTML and flash. I can auto redirect to the show from my lead-in page okay, but I cannot get the new page to open up in fullscreen mode. Can anyone help an HTML semi-moron out. :) Chris

It worked yesterday.
It doesn't work today.
That's Windows!
 
You can use a bit of Javascript code for this.

First paste the following code in the HEAD of your HTML document:

<SCRIPT LANGUAGE=&quot;JavaScript&quot;>

<!-- Begin
function fullScreen(theURL) {
window.open(theURL, '', 'fullscreen=yes, scrollbars=auto');
}
// End -->
</script>


Then use the following code for your links:

<a href=&quot;javascript:void(0);&quot; onClick=&quot;fullScreen('full-screen.html');&quot;>Open Full Screen Window</a>


Hope that helps.
 
Thanks madhouse, but it's not quite what I need. I'm using

<META http-equiv=&quot;refresh&quot; content= &quot;10; Url=./KB_21.html&quot;>

to get from my lead-in page, to the presentation page. Since everything is being sync'ed to music, I'm not using any clickable links at all.

Is there any way to use the javascript when the page opens. ie. does html have an equivalent of 'on-open event' that can trigger the script. Chris

It worked yesterday.
It doesn't work today.
That's Windows!
 
I asked part of this as a &quot;Frame Busting&quot; question.

The solution I found and was told involved reloading the same page but you could substitute any URL I would have thought.

The thing to watch-pout for is that Netscape < 4.9 uses Java 1.0 and IE 5.5 uses Java 1.1 so it took two subroutines with the same name. I leave a blickie hyperlink to the same page with a TARGET=&quot;_TOP&quot; for all legacy browsers and those with Java switched off.

See and &quot;save as&quot; then look at the java but remember to put an onload=&quot;subroutine&quot; in the <BODY > tag.
 
Frame busting try my thread as well - for some ideas

thread215-357622

Cresby
 
Thanks Cresby,

I just realised that I've been trying to solve a problem programmatically, which has a far simpler solution. The slide show I'm putting together, will never be published as a web site, it will only exist on my laptop. Therefore, all I have to do is set the browser to full screen mode in the first place. QED. Chris

It worked yesterday.
It doesn't work today.
That's Windows!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top