?
Solved

How to open non resizable popup window in Safari browser?

Posted on 2008-10-05
4
Medium Priority
?
2,168 Views
Last Modified: 2013-12-07
How to open non-resizable pop up window that works in Safari browser?
Javascript window.open() resizable option is not working in Safari browser though it works well in IE and Firefox.

Can someone suggest and alternative to this need or provide substantive reasoning if this is something un-doable in Safari.
0
Comment
Question by:techchandra
  • 2
4 Comments
 
LVL 43

Accepted Solution

by:
David S. earned 1500 total points
ID: 22647130
Some browsers ignore certain options for window.open() for accessibility and usability reasons. There are no workarounds. Learn to be kind to your users.
0
 
LVL 44

Expert Comment

by:scrathcyboy
ID: 22647142
I have had no problem opening popups in safari.  Not in front of a mac right now, but as I recall, this one of mine worked fine -- try it --

window.open(page.html,"","height=580,width=500,toolbar=1,location=1,scrollbars=0,menubar=1,resizable=1");

Remember, you have to specify dimensions and other parameters, I've had no problem with safari and javascript sub windows.
0
 
LVL 44

Expert Comment

by:scrathcyboy
ID: 22647146
for nonn-resizable, set resizable=0 -- but TEST WITH 1 first -- see if that is your problem, might be being blocked.
0
 

Author Comment

by:techchandra
ID: 22647205
scrathcyboy,

setting resizable=0 doesn't have an effect in Safari browser. User can still resize the window. An observation is pop up window maximize button is not disabled. Maybe it works disabling the maximize button somehow. Please suggest.

Kravimir,

I will wait for a while to see if there is a workaround and go with your justification.

Thanks to both of you.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
Following on from our article on "The Murky World of Consent and opt in", we thought we would issue some helpful guidance, not only on consent itself but knowing what information you are capturing, what you are doing with this data and how you can p…
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Suggested Courses

621 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question