Click here to Skip to main content
15,919,434 members
Please Sign up or sign in to vote.
1.80/5 (2 votes)
See more:
Dear all

I am developing online test in which i want display the page in full screen mode without showing taskbar. I used javascript for this, its perfectly working with windows XP but in windows 7 its not hide the taskbar. here is the javascript that i used

Kindly help me for this.

XML
<script type="text/javascript">
<!--
          function popup(url) {
              params = 'width=' + screen.width;
              params += ', height=' + screen.height;
              params += ', top=0, left=0'
              params += ', fullscreen=yes';
              params += ', status=no';
              params += ', toolbar=no';

              newwin = window.open(url, 'windowname', params);
              if (window.focus) { newwin.focus() }
              return false;
          }
// -->
</script>


Full Screen mode
Posted
Updated 1-Sep-13 21:15pm
v2
Comments
Sreejith MV 2-Sep-13 12:01pm    
fullscreen=yes will support only in IE. Did you tried in windows 7 IE? This code is working in IE10.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900