PDA

View Full Version : Forcing popup to load on Safari




bigandy
Apr 23, 2008, 04:38 PM
I'm tweaking a complex intranet project for a client, and I need to make popups happen for one feature. This isn't a feature that will be used much, so it won't detract from the user experience (and I really hate popups in most situations), but it is required.

The thing is, I need to leave Safari's popup blocker enabled on the client machines.

There is, obviously, a way to do this, but I've been unable to track it down as yet.

*wish there was an exceptions field in preferences*

Yup, so does anyone know how? ;)



InLikeALion
Apr 23, 2008, 05:37 PM
Could you do a javascript "pop-up" contained within the page? I guess that's really not what you're asking for. Sorry.

angelwatt
Apr 23, 2008, 06:05 PM
The pop-up blocker shouldn't block it if it was user initiated. Just use a target="_blank" on the link (assuming you're using a link) and it'll open as a new window.

bigandy
Apr 24, 2008, 07:47 AM
I realise I forgot to mention that I need the popup to be executed without user interaction, when a page is loaded.

PHP would drop in the code depending on a particular state, and the browser needs to execute it and pop a window up...

I'm fine creating normal popups ;)