1

I'm working on asp.net quiz application. The mandatory requirement of this application is: when the application starts (page is requested), it automatically enters into full screen.

Now I tried dozen of solutions (JS & Jquery's plugins)

  1. JS Solution

  2. Mozila's

  3. Jquery Plugins

a number of different jquery's plugins, but Chrome & Firefox are not allowing me to do so. Because it states that it needs user interaction for that.

Can somebody please help me out of this situation? Solution can be browser dependent.

Details about application:

  1. Total 5 aspx pages.

  2. One page is an iframe/frame in another page.

Community
  • 1
  • 1
Sikander Hayyat
  • 152
  • 1
  • 1
  • 11

1 Answers1

1

Quick and dirty solution. Let's create another page which will be our container page. Put an Iframe there, calculate Iframe height width attribute based on the screen size. make the first page as iframe source. on the iframe put frameborder=0, so from user perspective it will look like single page

For full screen check this link http://www.css-jquery-design.com/2013/11/javascript-jquery-fullscreen-browser-window-html5-technology/