Is there a way to make a popup window maximised as soon as it is opened? If not that, at least make it screen-sized? This:
window.open(src, 'newWin', 'fullscreen='yes'')
apparently only worked for old version of IE.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Use
screen.availWidthandscreen.availHeightto calculate a suitable size for the height and width parameters inwindow.open()Although this is likely to be close, it will not be maximised, nor accurate for everyone, especially if all the toolbars are shown.