Solved

How to open non resizable popup window in Safari browser?

Posted on 2008-10-05
4
2,159 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 42

Accepted Solution

by:
David S. earned 500 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Does a Google search find images with the word being searched? 11 60
Problem to file 3 67
Popup window in I.E. 8 49
IE 11 + long running scripts 3 28
JavaScript has plenty of pieces of code people often just copy/paste from somewhere but never quite fully understand. Self-Executing functions are just one good example that I'll try to demystify here.
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
The viewer will learn how to dynamically set the form action using jQuery.

919 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now