My question is simple and I have not seen an answer so far having surfed the web endlessly.
I run a Kids Flash Games Website:
http://www.doron-zur.com
Some of the games require Full Screen View.
I do not expect players arriving at my Website to hit the F11 Keyboard - most of them will not do so.
I want to make their life easier by writing adequate code instead which will load my Website in FULL SCREEN VIEW.
The harshness of the browser pop up blocker prevents my javascript code from using the following code:
Expand|Select|Wrap|Line Numbers
- <script type="text/javascript">
- <!--
- function popup(url)
- {
- params = 'width='+screen.width;
- params += ', height='+screen.height;
- params += ', top=0, left=0'
- params += ', fullscreen=yes';
- newwin=window.open(url,'windowname4', params);
- if (window.focus) {newwin.focus()}
- return false;
- }
- // -->
- </script>
- <a href="javascript: void(0)"
- onclick="popup('http://www.doron-zur.com/')">Fullscreen popup window
- </a>
Thank you all.
Doron Zur.