Jump to content
Fórum Script Brasil
  • 0

Popup


arldin

Question

Gostaria de uma ajuda para que este popup se feche altomaticamente

<script language="JavaScript">

var width = 300;

var height = 300;

var left = 99;

var top = 99;

URL = "http://www.sofestasinfantis.com.br/aviso.asp";

window.open(URL,'ferias', 'width='+width+', height='+height+', top='+top+', left='+left+', scrollbars=no, status=no, toolbar=no, location=no, directories=no,');

</script>

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

var janela = window.open(URL,'ferias', 'width='+width+', height='+height+', top='+top+', left='+left+', scrollbars=no, status=no, toolbar=no, location=no, directories=no,');

function closePopup() {
    janela.close();
}

setTimeout('closePopup()',1000);

1000 é a quantidade de milisegundos até a janela fechar.

Link to comment
Share on other sites

  • 0
var janela = window.open(URL,'ferias', 'width='+width+', height='+height+', top='+top+', left='+left+', scrollbars=no, status=no, toolbar=no, location=no, directories=no,');

function closePopup() {
    janela.close();
}

setTimeout('closePopup()',1000);

1000 é a quantidade de milisegundos até a janela fechar.

Valeu obrigadão

Tenha um otimo fim de ano

Que 2012 seja repleto de muitos susseço

Link to comment
Share on other sites

Join the conversation

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

Guest
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.



  • Forum Statistics

    • Total Topics
      152.2k
    • Total Posts
      652k
×
×
  • Create New...