[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 271
  • Last Modified:

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');
0
mannevenu
Asked:
mannevenu
  • 5
  • 3
1 Solution
 
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
 
mannevenuAuthor Commented:
Yaa it is working to fit a screen.I want hide minimize and maximize buttons also
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
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
 
tetorvikCommented:
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

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 5
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now