Puedes ver el truco funcionando en el siguiente blog de pruebas.
Para agregar este truco a tu blog debes pegar arriba de ]]></b:skin> lo siguiente:
/* Contenedor general y reset de margin y padding */
.expandir * {
margin: 0;
padding: 0;
}
.expandir {
font-family:Arial, Helvetica, sans-serif;
line-height:normal;
margin:20px auto 30px;
height:80px;
width:530px;
}
/* Las imágenes irán en forma de lista */
.expandir ul {
padding-top:10px;
margin-left:10px;
}
/* Se hacen flotar los elementos para que queden en línea y se elimina el estilo que podría haber predefinido para listas */
.expandir ul li {
float:left;
list-style-type:none;
}
/* Anulamos estilo predifinido para enlaces en listas */
.expandir ul li a {
text-decoration:none;
}
/* Estilo de cada imagen en situación inicial y transición suave */
.expandir ul li a img {
width:48px; /* Ancho inicial imagénes. 100% real */
height:48px; /* Alto inicial imagénes. 100% real */
border:none;
-webkit-transition: all .3s ease-in;
-moz-transition: all .3s ease-in;
-o-transition: all .3s ease-in;
-ms-transition: all .3s ease-in;
transition: all .3s ease-in;
}
/* El texto que acompaña a las imágenes no se ve inicialmente */
.expandir ul li a span {
display:none;
}
/* Mostramos el texto al hacer hover */
.expandir ul li:hover a span {
display:block;
font-size:14px;
text-align:center;
color:#000;
}
/* Agrandamos la imagen al hacer hover */
.expandir ul li:hover a img {
width:64px;
height:64px;
-webkit-transition: all .3s ease-in-out;
-moz-transition: all .3s ease-in-out;
-o-transition: all .3s ease-in-out;
-ms-transition: all .3s ease-in-out;
transition: all .3s ease-in-out;
}
Ahora con los artilugios expandidos pega lo siguiente debajo de <div class='post-footer'> :
<div class='expandir'>
<div class='separator' style='clear: both; text-align:left;'>
<img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZdNnsOMjG6YrmR-3pUsOKH5x4CUJCDvXg2mxnM8WJ2DjZNejAKxITHTV4_yR0rs0LWGxBYnkyU0rC6RpPkkWzY2tl8VBgce54Wl3Dz3bAfvnuLkROeWW95lHULMFGoUU8U3Wo-58JCmP1/s145/topblogger-11%252520agosot%2525202011%2525282%252529038.png'/></div>
<ul>
<li><a class='twitter' expr:href='"http://twitter.com/home?status=" + data:post.title + ": " + data:post.url' rel='nofollow' target='_blank' title='Twittear'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGS6Id8AwEQH9rcUQMjfWQImkwCLDOzz9_r-vTkwAlit2mxHVHjTVItbpO-9oA4mAgHFz6N0T1ju1adIhEpcNZoWMv_S49XOgZGYsMHqiKfKwA94i96YdnWK5opoTL9uMbxQfyqsFTKD7C/s0/way2blogging-twitter.png'/><span>Twitter</span></a></li>
<li><a class='facebook' expr:href='"http://www.facebook.com/sharer.php?u=" + data:post.url+ "&title=" + data:post.title' rel='nofollow' target='_blank' title='Compartir en Facebook'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhulAV8bKev3FwhQITJ5njK4e_mL_ISKw0uxSfiEXiHK1oyJ4iGpEG2tkfng7nMpYi_IcVSQTnraKY06Sb5YEEkXwXfWbMHrTrGtDsmaUZgC_p16kC9gKgjBFH_yIHfcUa_XNuYIhS2_5kY/s0/way2blogging-facebook.png'/><span>Facebook</span></a></li>
<li><a class='reddit' expr:href='" http://www.reddit.com/submit?url=" + data:post.url + "&title=" + data:post.title' rel='nofollow' target='_blank' title='Reddit'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzDuPhmhsDc2RZ6FOLRaI7M8gATo_zCAHMLvy_NdUZ9eOK35cxfsRKQOmGtZvudxcQ3FuEqHSRKu1LNIJPCn6EZa6FGpROlD5bz_GCbjYuE7dUyJWcPDFSnIgeMMS1lbAy4wbOmkgQWlQr/s0/way2blogging-reddit.png'/><span>Reddit</span></a></li>
<li> <a class='stumbleupon' expr:href='" http://www.stumbleupon.com/submit?url=" + data:post.url + "&title=" + data:post.title' rel='nofollow' target='_blank' title='Stumbleupon'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjs1EZnLYvIhlWcjpHo5E0l5VWTzDUr1tsI1fo5NXpiLJBxd5AgklyuNuMQ3FB_ql0adoKGKsZymq_1FJnAuMibTzia7pocytpjvtYZbFyMZCqHXboLjkwfj0HSBSS_acqWRnN3TxVs_vga/s0/way2blogging-stumbleupon.png'/><span>Stumbleupon</span></a></li>
<li><a class='delicious' expr:href='"http://del.icio.us/post?url=" + data:post.url + "&title=" + data:post.title' rel='nofollow' target='_blank' title='Delicious'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijNBhIv_0Re1PlqxXE86Y_GWfZsGhquOhnNt-60-NTCkIBWfWyuLvSVFEAXtHmfz5HvFZD1YRCn2nR-KaqJLpbin8O-UNHId6M0wX6LYfGg-h1ZgqWp2PhG5bYgU5yzKhLNSvyyatjUoJ-/s0/way2blogging-delicious.png'/><span>Delicious</span></a></li>
<li><a class='digg' expr:href='" http://digg.com/submit?url=" + data:post.url + "&title=" + data:post.title' href='http://www.blogger.com/blogger.g?blogID=2371828338899459493' rel='nofollow' target='_blank' title='Compartir en Digg This'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgs1Qs_auhVtZpOgjWQMNa_xOrESkuErX_j_3t4AupXLKQkuvPdSP4X5gWU5HhEseuMBfpBTdxVTVbdn_TVVC7HjFBC52fFu98ZBTwTS8YHQA_cbSY1-h855MmiBFA90mmiBBftPzRedKFv/s0/way2blogging-digg.png'/><span>Digg</span></a></li>
</ul>
</div>
Como ven es una muy estupenda forma de agregar los marcadores sociales que de seguro les gustara a tus lectores.
No hay comentarios:
Publicar un comentario