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.

PopUp Window Location

Discussion in 'HTML & Website Design' started by bretb, Apr 17, 2017.

  1. #1
    Im trying to control where my pop up opens up on the screen. Currently its opening in the top right corner of my window.

    Ideally id like it to open on the right side closer to the bottom.
    SEMrush
    I tried some edits but was unsuccessful, feel like there should be a fairly simple edit for this.

    Here is my code :

    <a href="http://messenger.providesupport.com/messenger/0qtdaqvjjskks1m9007e7o6v0r.html" onclick="window.open('http://messenger.providesupport.com/messenger/0qtdaqvjjskks1m9007e7o6v0r.html', 'newwindow', 'width=400, height=525' , 'left=500, top=300'); return false;">Chat</a>
    HTML:
    Any help would be appreciated !

    Thanks
     
    bretb, Apr 17, 2017 IP
    SEMrush
  2. Rokis

    Rokis Member

    Messages:
    60
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    45
    #2
    I would like to see a live example to be able to assist you.

    The snippet doesn't give us much really.
     
    Rokis, Apr 17, 2017 IP
  3. qwikad.com

    qwikad.com Illustrious Member Affiliate Manager

    Messages:
    6,100
    Likes Received:
    1,194
    Best Answers:
    22
    Trophy Points:
    400
    #3
    
    <a href="http://messenger.providesupport.com/messenger/0qtdaqvjjskks1m9007e7o6v0r.html" onclick="window.open('http://messenger.providesupport.com/messenger/0qtdaqvjjskks1m9007e7o6v0r.html', 'newwindow', 'width=400, height=525,top=100,left=900'); return false;">Chat</a>
    
    Code (markup):
    fiddle:

    https://jsfiddle.net/hhxj9wm2/1/

    Looks identical in Chrome and FF, Opera renders it slightly different.


     
    qwikad.com, Apr 17, 2017 IP
  4. bretb

    bretb Peon

    Messages:
    2
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    1
    #4
    bretb, Apr 18, 2017 IP
    qwikad.com likes this.