domingo, 18 de dezembro de 2011

Menu de compartilhamento - Sexy Bookmarks


Ei galera trago a vocês esse menu muito usado em blogs profissionais, para compartilhamento de postagens, essencial para um blog de respeito como o seu!

Como funciona: O menu fica na horizontal abaixo de suas postagens, possui uma variedade de botões de redes sociais para o leitor estar compartilhando. No estado normal (sem o cursor esta em cima), os botões ficam escondido como você vê na imagem lá em cima. Mas quando posicionamos o mouse sobre um dos botões, o mesmo é exibido por inteiro.



vamos lá!
Aviso importante: Faça um BACKUP do seu template antes de fazer qualquer modificação. Esse Blog não se responsabiliza por deformações no seu blog por edição mal sucedida.

1. Acesse o menu principal do seu blog.

2. Clique em "Modelo" -> "Editar HTML".

3. Marque a opção "Expandir Modelos de Widgets"


4. Procure por </head>

5. Acima dessa tag cole o seguinte código:
<style type='text/css'>

div.sexy-bookmarks {

height:54px;
background:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8iNt6r_137mTMgYHX1QTsKiAz7HQcrK_YqhT2uMdL7EAEsT0Z4SMsDRQUR0MonlSceISdn8ufJgVhcjqjBZupZWux5bwmoG9Dc4Z60EbIHjGGPlOf0e56AXK8hM4zVyEmNp10XXaVOJFA/s1600/sharingsprite.png') no-repeat left bottom; position:relative;
width:540px; }
div.sexy-bookmarks span.sexy-rightside { width:0px; height:54px;
background:url('http://lh3.ggpht.com/_3eh_nW6DoIE/TLDyP6JTgVI/AAAAAAAABV8/oTIaT5hQWwA/Sexysprite.png') no-repeat right bottom; position:absolute; right:-17px; }
div.sexy-bookmarks ul.socials {
margin:0 !important; padding:0 !important; position:absolute; bottom:0; left:10px; }
div.sexy-bookmarks ul.socials li {
display:inline-block !important; float:left !important; list-style-type:none !important; margin:0 !important; height:29px !important; width:48px !important; cursor:pointer !important; padding:0 !important; }
div.sexy-bookmarks ul.socials a {
display:block !important; width:48px !important; height:29px !important; font-size:0 !important; color:transparent !important; }
.sexy-furl, .sexy-furl:hover, .sexy-digg, .sexy-digg:hover, .sexy-reddit, .sexy-reddit:hover, .sexy-stumble, .sexy-stumble:hover, .sexy-delicious, .sexy-delicious:hover, .sexy-yahoo, .sexy-yahoo:hover, .sexy-blinklist, .sexy-blinklist:hover, .sexy-technorati, .sexy-technorati:hover, .sexy-facebook, .sexy-facebook:hover, .sexy-twitter, .sexy-twitter:hover, .sexy-myspace, .sexy-myspace:hover, .sexy-mixx, .sexy-mixx:hover, .sexy-script-style, .sexy-script-style:hover, .sexy-designfloat, .sexy-designfloat:hover, .sexy-syndicate, .sexy-syndicate:hover, .sexy-email, .sexy-email:hover { background:url('http://lh3.ggpht.com/_3eh_nW6DoIE/TLDyP6JTgVI/AAAAAAAABV8/oTIaT5hQWwA/Sexysprite.png') no-repeat !important; }
.sexy-furl { background-position:-300px top !important; }
.sexy-furl:hover { background-position:-300px bottom !important; }
.sexy-digg { background-position:-500px top !important; }
.sexy-digg:hover { background-position:-500px bottom !important; }
.sexy-reddit { background-position:-100px top !important; }
.sexy-reddit:hover { background-position:-100px bottom !important; }
.sexy-stumble { background-position:-50px top !important; }
.sexy-stumble:hover { background-position:-50px bottom !important; }
.sexy-delicious { background-position:left top !important; }
.sexy-delicious:hover { background-position:left bottom !important; }
.sexy-yahoo { background-position:-650px top !important; }
.sexy-yahoo:hover { background-position:-650px bottom !important; }
.sexy-blinklist { background-position:-600px top !important; }
.sexy-blinklist:hover { background-position:-600px bottom !important; }
.sexy-technorati { background-position:-700px top !important; }
.sexy-technorati:hover { background-position:-700px bottom !important; }
.sexy-myspace { background-position:-200px top !important; }
.sexy-myspace:hover { background-position:-200px bottom !important; }
.sexy-twitter { background-position:-350px top !important; }
.sexy-twitter:hover { background-position:-350px bottom !important; }
.sexy-facebook { background-position:-450px top !important; }
.sexy-facebook:hover { background-position:-450px bottom !important; }
.sexy-mixx { background-position:-250px top !important; }
.sexy-mixx:hover { background-position:-250px bottom !important; }
.sexy-script-style { background-position:-400px top !important; }
.sexy-script-style:hover { background-position:-400px bottom !important; }
.sexy-designfloat { background-position:-550px top !important; }
.sexy-designfloat:hover { background-position:-550px bottom !important; }
.sexy-syndicate { background-position:-150px top !important; }
.sexy-syndicate:hover { background-position:-150px bottom !important; }
.sexy-email { background-position:-753px top !important; }
.sexy-email:hover { background-position:-753px bottom !important; }
</style>



6. Agora procure por:
<div class='post-footer-line post-footer-line-3'>

7. Acima dela cole este outro código:

<b:if cond='data:blog.pageType == &quot;item&quot;'>

<div class='sexy-bookmarks'>

<ul class='socials'>
<li class='sexy-delicious'><a expr:href='&quot;http://del.icio.us/post?url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' rel='nofollow' target='_blank' title='Enviar no Delicious'/></li>
<li class='sexy-digg'><a expr:href='&quot; http://digg.com/submit?url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' rel='nofollow' target='_blank' title='Digg este Post'/></li>
<li class='sexy-technorati'><a expr:href='&quot; http://technorati.com/faves?add=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' rel='nofollow' target='_blank' title='Adicionar no Technorati'/></li>
<li class='sexy-reddit'><a expr:href='&quot; http://www.reddit.com/submit?url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' rel='nofollow' target='_blank' title='Adicionar no Reddit'/></li>
<li class='sexy-stumble'><a expr:href='&quot; http://www.stumbleupon.com/submit?url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' rel='nofollow' target='_blank' title='Stumble este Post'/></li>
<li class='sexy-designfloat'><a expr:href='&quot;http://www.designfloat.com/submit.php?url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' rel='nofollow' target='_blank' title='Compartilhe no DesignFloat'/></li>
<li class='sexy-facebook'><a expr:href='&quot; http://www.facebook.com/sharer.php?u=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' rel='nofollow' target='_blank' title='Compartilhe no Facebook'/></li>
<li class='sexy-twitter'><a expr:href='&quot; http://twitthis.com/twit?url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' rel='nofollow' target='_blank' title='Compartilhe no Twitter'/></li>
<li class='sexy-furl'><a expr:href='&quot; http://www.furl.net/storeIt.jsp?u=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' rel='nofollow' target='_blank' title='Compartilhe no Furl'/></li>
<li class='sexy-syndicate'><a href='http://feeds2.feedburner.com/naeemnur' rel='nofollow' title='Subscribe to RSS'/></li>
<li class='sexy-email'><a expr:href='&quot; mailto:?subject=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' rel='nofollow' target='_blank' title='Compartilhe por Email'/></li>
</ul><span class='sexy-rightside'/></div><div class='sexy-link'>
</div>
</b:if>

8. Prontinho, agora salve e veja se deu certo. Até mais!


comente 

Nenhum comentário:

Postar um comentário