1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How to realize pop-up window through HTML?

Discussion in 'HTML & Website Design' started by Britney6, Sep 26, 2021.

  1. #1
    Friends, who knows how to realize pop-up window through HTML?
    SEMrush
     
    Britney6, Sep 26, 2021 IP
    SEMrush
  2. shalom_m

    shalom_m Greenhorn

    Messages:
    37
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    23
    #2
    Quite simple really:

    <input type="button" value="Open a Popup Window" onclick="window.open('https://euroburo-slovenia.com/','popUpWindow','height=500,width=400,left=100,top=100,resizable=yes,scrollbars=yes,toolbar=yes,menubar=no,location=no,directories=no, status=yes');">
    HTML:
    First it creates a button with "Open a Popup Window" text
    When clicked, rhe new window loads an external page from euroburo-slovenia.com.
    It opens a window 500px wide and 400px high, 100px removed from left and top edges of screen.
    The pop-up windoe is resizable, has scrollbars, toolbars no menubar, etc...
     
    shalom_m, Nov 20, 2021 IP
  3. mmerlinn

    mmerlinn Prominent Member

    Messages:
    3,057
    Likes Received:
    736
    Best Answers:
    7
    Trophy Points:
    320
    #3
    And WHY would you want to piss off your visitors with popup advertising windows?
     
    mmerlinn, Nov 21, 2021 IP