Denunciar Ao clicar no botão, abrir em outra página em PHP Postado Dezembro 29, 2015 Boa tarde, eu tenho uma página com um pop up... e ao clicar na pop-up ele abre o link na mesma janela.... Porém eu gastaria que abrisse em uma nova janela... é possível ?? Meu código... <div style='display:none' mobile='no'> <div id='subscribe' mobile='no'> <div id="position"><iframe style="border:none; overflow:hidden; width:680px; height:250px;" frameborder="0" scrolling="No" src="http://xxxxxxxxx.xxx" onclick="window.open(this.getAttribute(document.getElementByID('lightboxContent').style.display='none';), '_blank')"></iframe></div> <div id="lightbox"></div> <div id="lightboxContent"><div id="curtir"><iframe src="http://xxxxxx.xxxxx.xxxxx;width=315&colorscheme=light&show_faces=true&border_color=%23ffffff&stream=false&header=false&height=290" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:315px; height:290px;" allowtransparency="true" onclick="window.open(this.getAttribute(document.getElementByID('lightboxContent').style.display='none';), '_blank');"></iframe><div id="fechar" onclick="window.open(this.getAttribute(document.getElementByID('lightboxContent').style.display='none';), '_blank')">Clique no X para fechar!</div></div></div> já estou usando o window.open mas creio que de forma errada.. poderiam me ajudar?
Ao clicar no botão, abrir em outra página
em PHP
Postado
Boa tarde, eu tenho uma página com um pop up...
e ao clicar na pop-up ele abre o link na mesma janela....
Porém eu gastaria que abrisse em uma nova janela... é possível ??
Meu código...
<div style='display:none' mobile='no'>
<div id='subscribe' mobile='no'>
<div id="position"><iframe style="border:none; overflow:hidden; width:680px; height:250px;" frameborder="0" scrolling="No" src="http://xxxxxxxxx.xxx" onclick="window.open(this.getAttribute(document.getElementByID('lightboxContent').style.display='none';), '_blank')"></iframe></div>
<div id="lightbox"></div>
<div id="lightboxContent"><div id="curtir"><iframe src="http://xxxxxx.xxxxx.xxxxx;width=315&colorscheme=light&show_faces=true&border_color=%23ffffff&stream=false&header=false&height=290" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:315px; height:290px;" allowtransparency="true" onclick="window.open(this.getAttribute(document.getElementByID('lightboxContent').style.display='none';), '_blank');"></iframe><div id="fechar" onclick="window.open(this.getAttribute(document.getElementByID('lightboxContent').style.display='none';), '_blank')">Clique no X para fechar!</div></div></div>
já estou usando o window.open mas creio que de forma errada.. poderiam me ajudar?