Solved

How to open non resizable popup window in Safari browser?

Posted on 2008-10-05
4
2,161 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

730 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