Carregando atualizações...

X

Popup de Curtir Fan Page No Facebook Com Timer Versão #2

Nesta postagem compartilho com vocês está pop up com timer. A algum tempo atrás havia postado um artigo mostrando como instalar um outro modelo de pop up com timer só que muito diferente dessa - se quiser ver este artigo veja clicando aqui.




Para colocar a pop up no seu blogger é bem simples... entre em "Layout" - "Adicionar um Gadget" - "HTML/JavaScript" e cole o seguinte código
<!-- Pop up facebook box com timer -->
<style type='text/css'>
#popup{
position: fixed;
top:100px;
z-index:9999;
display:none;
padding:0px;
right:600px;
border:10px solid rgba(82, 82, 82, 0.7);
-webkit-background-clip: padding-box; /* for Safari */
background-clip: padding-box; /* for IE9+, Firefox 4+, Opera, Chrome */
-webkit-border-radius:8px 8px 8px 8px;
-moz-border-radius:8px 8px 8px 8px;
border-radius:8px 8px 8px 8px;
width:400px;
height:360px;
overflow:hidden;
}
#popup span{
font-size:20px !important;
font-weight:bold !important;
}
#popup h1{
background:#6d84b4 url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKeocVNFrBuYFKYDrRrUKMaFy-qfIksYLlrJRRhNG2EeqXjIGk-wL09I9OD4qgBRXHWXby1SrJtZohmAChgHGftNtb7-DDjTePAHL4ZQXtrt8shLaC8WM6ixvj3x1qBDud-RSoWse9ugan/s1600/%255Bwww.gj37765.blogspot.com%255Dh1.png) 98% no-repeat;
border:1px solid #3b5998 !important;
color:#FFFFFF !important;
font-size:20px !important;
font-weight:700 !important;
padding:5px !important;
margin:0 !important;
font-family:'"lucida grande",tahoma,verdana,arial,sans-serif !important;
overflow:hidden !important;
}
.htmlarea{
font-size:12px !important;
font-weight:normal !important;
height:265px !important;
padding:1px !important;
background:#fff !important;
border-bottom:2px solid #ddd;
overflow:hidden !important;
}
#mdfooter{
text-align:left;
background:#F2F2F2 !important;
height:56px !important;
padding:10px 10px 10px 10px !important;
overflow:hidden !important;
}
#mdclose{
float:right;
background-color:#eee !important;
border:1px solid #ccc !important;
color:#111 !important;
font-weight:bold !important;
padding:5px 8px 5px 8px !important;
text-decoration:none !important;
display:inline-block !important;
font-family:'"lucida grande",tahoma,verdana,arial,sans-serif !important;
outline:none !important;
position:relative !important;
font-size:18px !important;
margin:1px !important;
}
#mdclose:active{
top:1px;
left:1px;
}
</style>
<script type='text/javascript'>
jQuery(document).ready(function() {
function _ppopup()  {
var sec = 30
var timer = setInterval(function() {
   $("#mdfooter span").text(sec--);
   if (sec == 0) {
      $("#popup").fadeOut("slow");
      clearInterval(timer);
   }
},1000);
  var mdwh = jQuery(window).height();
  var mdpph = jQuery("#popup").height();
  var mdfromTop = jQuery(window).scrollTop()+50;
 jQuery("#popup").css({"top":mdfromTop});}
jQuery(window).fadeIn(_ppopup).resize(_ppopup)
 //alert(jQuery.cookie('sreqshown'));
 //var mdww = jQuery(window).width();
 //var mdppw = jQuery("#popup").width();
 //var mdleftm = (mdww-mdppw)/2;
   var mdleftm = 500;
 //var mdwh = jQuery(window).height();
 //var mdpph = jQuery("#popup").height();
 //var mdfromTop = (jQuery(window).scrollTop()+mdwh-mdpph) / 2;
 jQuery("#popup").animate({opacity: "1", left: "0" , left:  mdleftm}, 0).show();
     jQuery("#mdclose").click(function() {
jQuery("#popup").animate({opacity: "0", left: "-5000000"}, 1000).show();});});
</script>
<div id="popup">
<h1>Curta nossa Fanpage</h1>
<div class="htmlarea">
<iframe src="//www.facebook.com/plugins/likebox.php?href=https%3A%2F%2Fwww.facebook.com%2FNOME DA SUA PAGINA AQUI&amp;width=400&amp;colorscheme=light&amp;show_faces=true&amp;border_color=%23fff&amp;stream=false&amp;header=false&amp;height=250" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:400px; height:250px;" allowtransparency="true"></iframe>
</div>
<div id="mdfooter">
Curta ou espere..<span>30</span> Segundos.
<a href="#" id="mdclose" onclick="return false;">Fechar</a>
</div>
</div>
<!-- Fim da popup personalizada com Time -->
Tendo colado o código, basta fazer as modificações nos campos destacados e pronto!!!

Deixe seu comentário!!!

Cursos On-line 24 Horas - Educação a Distância de Qualidade

NOSSO CANAL
VER TV A CABO ONLINE GRÁTIS
TV ONLINE 1.0