Forcing popup to load on Safari

Discussion in 'Web Design and Development' started by bigandy, Apr 23, 2008.

  1. bigandy macrumors G3

    bigandy

    Joined:
    Apr 30, 2004
    Location:
    Murka
    #1
    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? ;)
     
  2. InLikeALion macrumors 6502a

    Joined:
    Jul 18, 2007
    Location:
    Greener places than I used to live
    #2
    Could you do a javascript "pop-up" contained within the page? I guess that's really not what you're asking for. Sorry.
     
  3. angelwatt Moderator emeritus

    angelwatt

    Joined:
    Aug 16, 2005
    Location:
    USA
    #3
    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.
     
  4. bigandy thread starter macrumors G3

    bigandy

    Joined:
    Apr 30, 2004
    Location:
    Murka
    #4
    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 ;)
     

Share This Page