opening a new URL on page load?

Discussion in 'Web Design and Development' started by ghking, Oct 8, 2007.

  1. ghking macrumors regular

    ghking

    Joined:
    Jul 21, 2007
    #1
    hello
    im trying to get a new url to open automatically in a new window when the first page loads. how could i do this with html?

    thanks
     
  2. EricBrian macrumors 6502a

    EricBrian

    Joined:
    Jul 30, 2005
    #2
    You are trying to create popups?

    Just search for javascript and popup.
     
  3. ghking thread starter macrumors regular

    ghking

    Joined:
    Jul 21, 2007
    #3
    no like open a full blown new window for the link with an adress bar and everything not just a little popup window that might be blocked by popup blockers
     
  4. angelwatt Moderator emeritus

    angelwatt

    Joined:
    Aug 16, 2005
    Location:
    USA
    #4
    Indeed, be aware that pop-up blockers are becoming the norm so it won't likely work unless people make an exception for your page. This is usually bypassed if the user engages the act, like clicking on a link.
     
  5. overanalyzer macrumors 6502a

    Joined:
    Sep 7, 2007
    Location:
    Boston, MA USA
    #5
    Popup blockers don't block windows due to invoking them without address bars...they block them for being invoked without user intervention. So any automatic action to open a new window is likely to be blocked by any modern browser.
     
  6. EricBrian macrumors 6502a

    EricBrian

    Joined:
    Jul 30, 2005
    #6
    Yes, those are popups... Opening a new window without the user clicking anything... that is a popup.
     
  7. ghking thread starter macrumors regular

    ghking

    Joined:
    Jul 21, 2007
    #7
    oh so it will probably be blocked no matter what. nevermind then.

    thanks
     

Share This Page