popup window in mozilla

hi,

  I am writing a code for popup window.in that i gave fullscreen=yes.It is working in IE.But in mozilla full screeen is not coming.My code is

window.open('pageexam.aspx?QS_Que_ID=0','Login','maximize=no,minimize=no,top=0,resizable=0,left=0,status=yes,toolbar=no,menubar=no,fullscreen=yes, scrollbars=yes, addressbar=no, location=yes');
mannevenuAsked:
Who is Participating?
 
tetorvikConnect With a Mentor Commented:
fullscreen is IE only feature and I think you cannot identically mimic the behaviour in mozilla. Like resizing the window seems to be always enable in mozillla. "Starting with Firefox 3, secondary windows are always resizable" more about it in https://developer.mozilla.org/En/Window.open

but with the snippet below you'll get a behavour in mozilla close to IE fullscreen=true, not indentical though.
window.open('http://www.google.ca', 'name', 'fullscreen=yes,top=' + screen.availTop + ',left=' + screen.availLeft + ',width=' + screen.availWidth + ',height=' + screen.availHeight + ',dialog=yes,maximize=no,alwaystop=yes,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no');

Open in new window

0
 
tetorvikCommented:
see the solution to resize opened window to full size with javascript
http://www.experts-exchange.com/Programming/Languages/.NET/Q_24349510.html 
0
 
tetorvikCommented:
even better solution (using screen.availHeight and screen.availWidht) can be found from:
http://codingforums.com/showthread.php?t=83022
0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
mannevenuAuthor Commented:
Yaa it is working to fit a screen.I want hide minimize and maximize buttons also
0
 
mannevenuAuthor Commented:
Please give me any idea for full screen in Mozilla.like displayed in IE.
0
 
tetorvikCommented:
What do you mean? I thought you already got your window resized?
0
 
mannevenuAuthor Commented:
It is working in IE .But mozilla full screen is not coming.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.