Welcome to WebmasterWorld Guest from 54.196.244.186

Forum Moderators: open

Message Too Old, No Replies

F11 Fullscreen using Javascript

     
10:25 am on Aug 6, 2005 (gmt 0)

New User

10+ Year Member

joined:July 4, 2003
posts:36
votes: 0


Hi

I am opening a new browser window (using target="_blank") and for various reasons want to give the user a set of options WITHIN that windoow: close; maximise; reduce; fullscreen.

At present these work fine together:

<a href="JavaScript:window.close()">close</a>
<a href="JavaScript:window.moveTo(0,0); window.resizeTo(screen.width,screen.height);">maximise</a>
<a href="JavaScript:window.moveTo(0,0); window.resizeTo(600,400);">reduce</a>

However, I cannot find any way to get fullscreen except via the following:

<a href="javascript:void(0)" onclick="window.open('mypage.html','mypage','fullscreen=yes,scrollbars=yes')">
full screen</a>

However, it opens a new browser window, and adding '_self', prevents it from working at all.

Moreover, the maximise and reduce links are now deactivated.
It's the same problem if the user simply presses F11

Any simple solution to this?

Thanks

3:27 pm on Aug 6, 2005 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Apr 15, 2004
posts:2047
votes: 0


It just can't be done. No way around it.
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members