PopUp Ad in New Window in the background?

Discussion in 'HTML & JavaScript' started by hulkhogan, Feb 14, 2014.

  1. hulkhogan

    hulkhogan Registered Member

    Joined:
    Jan 21, 2014
    Messages:
    59
    Likes Received:
    5
    Hello,


    I was wondering if anyone knew the code for creating a popup ad which would appear in a new window (in the background) when the visitor visits a website?

    An example of this is the adult webcam site Jasmine. Their popup appears in a new window in the background so you don't even notice it until you hear someone talking from a webcam show. Thanks
     
  2. pxoxrxn

    pxoxrxn Supreme Member

    Joined:
    Dec 21, 2011
    Messages:
    1,398
    Likes Received:
    2,074
    What your looking for is called a pop-under and they are written in JavaScript.

     
    • Thanks Thanks x 1
  3. hulkhogan

    hulkhogan Registered Member

    Joined:
    Jan 21, 2014
    Messages:
    59
    Likes Received:
    5

    Thanks for the pop under I will try it. However, this pop under is blocked by the the pop up blocker. Does anyone know how to get a pop under like the one livejasmin has (i,e, doesn't get block and appears as a separate window without being noticed )?
     
  4. x00srch

    x00srch Registered Member

    Joined:
    Jul 2, 2013
    Messages:
    53
    Likes Received:
    15
    Location:
    Berlin, Germany
    Just put an event listener on a mouse click, guess it would help.