Você já deve ter percebido que, ao visitarmos alguns blogs, aparece uma popup divulgando uma página no Facebook, convidando seus leitores a curtirem-na.
Exemplo
1– Primeiro acesse seu Blogger e clique na guia “Layout”.
2– Estando o Modelo do Blogger em Aberto clique em “Adicionar um gadget” no local desejado e escolha adicionar “HTML/Javascript”.
3– Dentro do conteúdo do gadget copie e cole o todo o código abaixo
#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(http://3.bp.blogspot.com/-eGPtajNQ0vc/Vpbu9TwhOoI/AAAAAAAAAJQ/IRQc8YBfHpk/s1600-r/cadeado.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;
}
http://bit.ly/bloggerscripts
jQuery(document).ready(function() {
function _ppopup() {
var sec = 10
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();});});
Curta nossa Fanpage
<iframe src="//www.facebook.com/plugins/likebox.php?href=https%3A%2F%2Fwww.facebook.com%2FSUAPAGINAAQUI&width=400&colorscheme=light&show_faces=true&border_color=%23fff&stream=false&header=false&height=250″ scrolling=”no” frameborder=”0″ style=”border:none; overflow:hidden; width:400px; height:250px;” allowtransparency=”true”>
Atenção para a parte destacada em VERMELHO:
* Em SUAPAGINAAQUI, troque pelo nome de sua página do Facebook ou em alguns casos o ID da Page.
4- Após alterar o nome da sua Página, clique em “Salvar” e depois “Salvar Organização”.
5- Agora vem o principal, no seu blogger clique na guia “Modelo”, “Editar HTML” aperte CTRL+F e pesquise por .
>> Logo ACIMA da tag pesquisada cole o seguinte código abaixo e depois clique em “Salvar Modelo”.
http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.jsFollow @TradeBrasilTweet #TradeBrasilTweet to @TradeBrasil!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?’http’:’https’;if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+’://platform.twitter.com/widgets.js’;fjs.parentNode.insertBefore(js,fjs);}}(document, ‘script’, ‘twitter-wjs’);
http://www.facebook.com/plugins/like.php?href=https://www.facebook.com/xatoficial
Xat TradeBrasil | Xat TradeStore | Xat PortalADSL | Xat AZBoxOficial | Xat AZAmericaOficial | Xat DicasDuoSat | Xat DicasProBox | Xat DicasAzAmerica | Xat DicasAzBox | Xat MestredoAzBox | Xat P12Floripa | Xat GrupoAzBox | Xat GruposWhatsApp | Xat BatePapoAmerica | Xat XTradeBR | Xat Parceria | Xat UltimateDivulgacao | Xat AutoDivulgacao | Xat Freedownmovie | Xat BatePapoCC | Xat Divulgacao | Xat Room | Xat JoaoGueddy | Xat BatePapoUniversoOnline | Xat BatePapo Bol GLS | Xat BatePapo Uol | Xat SchirleyCristina | Xat Bol Bate-Papo | Xat UOL Bate-Papo | Xat Bate-Papo Bol | Xat Bate-Papo Zoeira Online | Xat Doacao Ganhe 1 Day | Xat Top do Facebook | Xat Radio Hot 108 | Xat Baxada | Xat Best Radios | Xat Mega Radios | Xat VTO Brasil | Xat VTO TV BR | Xat Grupo VTO | Xat Big Brother Brasil | Xat BR Pro | Xat Ver TV Online | Xat VTO BR | Xat VTO ao Vivo | Xat para Ganhar Likes | Xat de Divulgacao | Xat Doaçao Ganhe Days | Xat Mu Away | Xat TM Divulgacao | Xat Lotador de Xats | Xat Power Divulgacao | Xat do Grupo Segue ou Add | Xat AZ News | Xat de Troca PT-BR | Xat de Venda de ID´s | Xat Comunidade do Facebook | Xat de Parceria |
Tweet!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?’http’:’https’;if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+’://platform.twitter.com/widgets.js’;fjs.parentNode.insertBefore(js,fjs);}}(document, ‘script’, ‘twitter-wjs’);Follow @TradeBrasilTweet #TradeBrasilTweet to @TradeBrasil!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?’http’:’https’;if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+’://platform.twitter.com/widgets.js’;fjs.parentNode.insertBefore(js,fjs);}}(document, ‘script’, ‘twitter-wjs’);
http://www.facebook.com/plugins/like.php?href=https://www.facebook.com/xatoficial
Xat TradeBrasil | Xat TradeStore | Xat PortalADSL | Xat AZBoxOficial | Xat AZAmericaOficial | Xat DicasDuoSat | Xat DicasProBox | Xat DicasAzAmerica | Xat DicasAzBox | Xat MestredoAzBox | Xat P12Floripa | Xat GrupoAzBox | Xat GruposWhatsApp | Xat BatePapoAmerica | Xat XTradeBR | Xat Parceria | Xat UltimateDivulgacao | Xat AutoDivulgacao | Xat Freedownmovie | Xat BatePapoCC | Xat Divulgacao | Xat Room | Xat JoaoGueddy | Xat BatePapoUniversoOnline | Xat BatePapo Bol GLS | Xat BatePapo Uol | Xat SchirleyCristina | Xat Bol Bate-Papo | Xat UOL Bate-Papo | Xat Bate-Papo Bol | Xat Bate-Papo Zoeira Online | Xat Doacao Ganhe 1 Day | Xat Top do Facebook | Xat Radio Hot 108 | Xat Baxada | Xat Best Radios | Xat Mega Radios | Xat VTO Brasil | Xat VTO TV BR | Xat Grupo VTO | Xat Big Brother Brasil | Xat BR Pro | Xat Ver TV Online | Xat VTO BR | Xat VTO ao Vivo | Xat para Ganhar Likes | Xat de Divulgacao | Xat Doaçao Ganhe Days | Xat Mu Away | Xat TM Divulgacao | Xat Lotador de Xats | Xat Power Divulgacao | Xat do Grupo Segue ou Add | Xat AZ News | Xat de Troca PT-BR | Xat de Venda de ID´s | Xat Comunidade do Facebook | Xat de Parceria |