• 0
Sign in to follow this  

(Resolvido) Popup


Tenho uma popup e quero que ela apareça no canto infeiro direito da minha página?

Mas ela precisa aparecer nessa posição em todas as resoluções, como faço isso?


Segue a resposta que consegui em outro forum:

<script type="text/javascript">
function abrirPopup()
    var w = 300;
    var h = 300;
    var t = parseInt(window.screen.availHeight-(h+30));
    var l = parseInt(window.screen.availWidth-(w+10));
    window.open("teste.html", "teste","width="+w+",height="+h+",top="+t+",left="+l+",resizable=no,scrollbars=yes,status=no,dependent");


<a href="#" onclick="abrirPopup();">teste</a>


Share this post

Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this