Sendo assim, vamos ao tutorial:
1° passo: Acesse o painel do Blogger , escolha o blog que você deseja instalar, selecione a opção "Modelo" e clique em "Editar HTML".2°passo: Agora usando o Ctrl F, procure por:
</head>
3° passo: E acima dele adicione o seguinte código:
4° passo: Clique em "Salvar modelo" e feche a edição de HTML.<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js'/>
6° passo: Deixe a opção "Título" em branco e cole o seguinte código na caixa do gadget:
<script type="text/javascript">//<!--$(document).ready(function() {$(".box-flutuante-facebook").hover(function() {$(this).stop().animate({right: "0"}, "medium");}, function() {$(this).stop().animate({right: "-250"}, "medium");}, 500);});//--></script><style type="text/css">.box-flutuante-facebook{background: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg23sK9uxDsa2WuclFt2a1UaeFdCRPu4UotJWQItVxVR0W7bdXHvGcVyRqOt3SzPseKWu9czy3_igASWr2dJTHQS5Ta6muZ5ePSs-h2EJ9dJr2ic23JTpSTorZ6Sp6Ngh9hvJ7BHH5OMU8/s1600/floatingfb.png") no-repeat scroll left center transparent !important;display: block;float: right;height: 270px;padding: 0 5px 0 40px;width: 245px;z-index: 99999;position:fixed;right:-250px;top:20%;}.box-flutuante-facebook div{border:none;position:relative;display:block;}.box-flutuante-facebook span{bottom: 10px;font: 10px tahoma,verdana,arial,sans-serif;position: absolute;right: 6px;text-align: right;z-index: 99999;}.box-flutuante-facebook span a{color: #808080;text-decoration:none;}.box-flutuante-facebook span a:hover{text-decoration:underline;}</style><div class="box-flutuante-facebook" style=""><div><iframe src="//www.facebook.com/plugins/likebox.php?href=URL-DA-SUA-PÁGINA-DO-FACEBOOK&width=251&height=270&colorscheme=light&show_faces=true&border_color=%23cccccc&stream=false&header=false&appId=159468740772399" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:251px; height:270px; background:#fff;" allowtransparency="true"></iframe></div></div>
Não se esqueça de alterar o texto em laranja pelo URL da sua página do Facebook.
7° passo: Clique em "Salvar".
Para adicionar em seu blog é simples va em Layout →Adicionar um Gadget→ HTml/Javascript e cole o código abaixo:
<style>
#flotante1 {
position:fixed;
top:100px;
right:-250px;
float:right;
width:288px;
display:block;
padding:0;
z-index:1002;
-moz-transition: all 1s;
-webkit-transition: all 1s;
-o-transition: all 1s;
}
#flotante2 {
position:fixed;
top:100px;
right:-250px;
float:right;
width:288px;
display:block;
padding:0;
z-index:1003;
border-radius:10px;
-moz-transition: all 1s;
-webkit-transition: all 1s;
-o-transition: all 1s;
}
#flotante3 {
position:fixed;
top:380px;
right:-250px;
float:right;
width:288px;
display:block;
padding:0;
z-index:1004;
border-radius:10px;
-moz-transition: all 1s;
-webkit-transition: all 1s;
-o-transition: all 1s;
}
#flotante1:hover, #flotante2:hover, #flotante3:hover {
right:0px;
-moz-transition: all 1s;
-webkit-transition: all 1s;
-o-transition: all 1s;
}
div.likeboxwrap {
margin-top:-5px;
margin-left:-45px;
width:238px;
height:325px;
background-color:#fff;
overflow:hidden;
border-radius:10px;
}
</style>
<!-- Segunda pestaña -->
<div id='flotante2'>
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCXFTw82f5AAGvcNgaPMAEQRFdu278kRtBRHZaOcjWaECVZTF1AIDpCR1tLV_0u8a7aBPuYCcESsxdcxO7jQSHA1plH25V8xNqW-4FYkwtU7qZeLg82gfl3tT_9Z1vHPtdwJAWifer1KAU/s159/goo_tab.png' style='float:left;'/>
<div style='background: #9e0202; height:325px; margin-left:38px;padding: 8px 5px 0pt 50px;border-radius: 0px 0px 0px 10px;'><span><div class='likeboxwrap' style="padding-left:20px; padding-top:15px; height:310px !important;">
<div class="g-plus" data-action="followers" data-height="300" data-href="https://plus.google.com/b/XXXXXXXXXXXXXXXXXX" data-source="blogger:blog:followers" data-width="240">
</div>
<script type="text/javascript">
(function() {
window.___gcfg = {'lang': 'es'};
var po = document.createElement('script');
po.type = 'text/javascript';
po.async = true;
po.src = 'https://apis.google.com/js/plusone.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(po, s);
})();
</script>
</div></span></div></div>
Para alterar a distância do topo do blog procure top:100px; que está na cor vermelha e troque o valor 100 pelo numero que deseja lembrando que quanto maior o numero mais distande do topo ele ficará.
E no lugar de https://plus.google.com/b/XXXXXXXXXXXXXXXXXX coloca o endereço da rede social seja da página ou perfil pessoal.
ExemploCreditos |
Encontrei a opção em diversos meta blogs por aí para fazer com o facebook, mas o meu principal objetivo era por o G+ com este efeito... como não consegui criar o código recorri aos meta blogs cuti cuti... tipo o seu sabe? kkkkk as dicas sempre são mais organizadas, e mesmo que se dediquem mais ao universo feminino, não me importo de sair procurando neles... são ótimos metablogs!
ResponderExcluirBem, comentei só pra agradecer ^^
Visita? http://www.umesobretudo.blogspot.com
Obrigado ajudou muito!
ResponderExcluir