1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Open Link in Two Windows - Avoid Pop Up Blocker?

Discussion in 'HTML & JavaScript' started by captainsmack, Jun 2, 2013.

  1. captainsmack

    captainsmack Junior Member

    Joined:
    Mar 30, 2010
    Messages:
    108
    Likes Received:
    49
    Hey everyone. I have a situation where I need to open two links with a single click. I'm currently using javascript to do this, but IE blocks the URL called in the code.

    Code:
    onclick="window.open('URL');"
    Does anyone know of a better way to open two windows on click or a single link?
     
  2. oozyluce

    oozyluce Regular Member

    Joined:
    Jan 26, 2013
    Messages:
    277
    Likes Received:
    231
    Occupation:
    IT Coordinator, Senior Network Administrator
    Location:
    http://www.gaben.tv/
    Home Page:
    add an event listener, on mouse down, and one on mouse up, and open a window on both of the events
     
    • Thanks Thanks x 1