Esto delflyout es el término que usa un plugin Wordpress llamado así (Nrelate Flyout) y que muestra en una ventana emergente que aparece en la parte inferior del blog al hacer scroll (elflyout de marras), entradas supuestamente relacionadas con la que se está leyendo en ese momento.No conocía ese plugin como tal, pero sí que había visto el efecto en algunos sitios y pienso que para algunos casos puede quedar bien y ser práctico... ambas cosas. Se puede montar fácilmente a mano para enlaces fijos y posiblemente también para posts relacionados (esto lo tendría que ver con más tiempo), pero para lo que se puede adaptar de manera muy sencilla espara el gadget de Entradas Populares de Blogger.Es sólo cuestión de un poco (muy poco) de JavaScript y mucho de estilo (CSS).Para verlo, sólo tenéis que bajar en esta entrada y lo veréis aparecer abajo a la derecha. Eso sí, como yo tengo actualmente el gadget baseun poco raro, el formato no será como los que después os presentaré. Cuando terminéis de verlo no olvidéis volver aquí para aprender cómo añadirlo a vuestro sitio.
Paso previo
 |
| Clic para ampliar |
En primer lugar tenemos que añadir desdeDiseño un gadget del tipoEntradas populares. Le ponermos título, marcamos el periodo de tiempo de dónde extraer los posts más leídos, seleccionamos las dos casillas de verificación que salen para miniatura y resumen de texto y por último, seleccionamos el número de posts a mostrar.De los estilos que mostraré al final, algunos sólo soportan determinado número, así que si se os ve chungo sólo tenéis que repasar el comentario que añadí a cada estilo.Añadir jQuery
Empezamos con el código comprobando que tenemos la librería jQuery en la plantilla. Si no es así sólo hay que editarla y añadir esta línea tras la etiqueta de cierre/b:skin. Si tenéis dos, pues tras la segunda.script src='http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js' type='text/javascript'/
Manipulando el gadget original
Lo siguiente y de hecho podría ir justo a continuación de la anterior línea, sería añadir el JavaScript que creará el efecto.script type='text/javascript'// |
| Estilo Linkwithin (4 posts) |
/* Estilo 1 - Linkwithin - 4 entradas */a.closeflyout {float: right;margin: 0;padding: 0;font-size: 14px;line-height: 14px;color:#333;}a.closeflyout:hover {text-decoration: none; color: red;}.PopularPosts {display:none;}.PopularPosts {position: fixed;bottom:0;right:0;width: 400px;margin:0;padding: 10px;text-align: center;background: #eee;border:1px solid #999;border-radius: 10px 0 0 10px;z-index: 999;}.PopularPosts h2 {display: inline;margin: 0 20px;text-align: center;}.PopularPosts .widget-content ul {font-size: 0;}.PopularPosts .widget-content ul li {display: inline-block;*display: inline; zoom: 1;width: 23%;margin: 3px;padding:0;vertical-align: top;}.PopularPosts .item-thumbnail {float: none;margin: 0;padding: 3px;border: 1px solid #999;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;}.PopularPosts img {width: 100%;height: auto; }.PopularPosts .item-title a {font-size: 12px;text-transform: uppercase;}.PopularPosts .item-snippet {display: none;}
 |
| Estilo Huffington (1 post) |
/* Estilo 2 - Huffington - 1 entrada */a.closeflyout {float: right;margin: 0;padding: 0;font-size: 14px;line-height: 14px;color:#333;}a.closeflyout:hover {text-decoration: none; color: red;}.PopularPosts {display:none;}.PopularPosts {position: fixed;bottom:0;right:0;width: 400px;margin:0;padding: 10px;text-align: center;background: #eee;border:1px solid #999;border-radius: 10px 0 0 10px;z-index: 999;}.PopularPosts h2 {display: inline;margin: 0 20px;text-align: center;}.PopularPosts .widget-content ul {font-size: 0;}.PopularPosts .widget-content ul li {margin: 3px; padding: 0;text-align: left;vertical-align: top;}.PopularPosts .item-thumbnail {float: left; margin: 0 10px 0 0;padding: 3px; border: 1px solid #999;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;}.PopularPosts img {width: 100%;height: auto;}.PopularPosts .item-title a {line-height: 22px;text-transform: uppercase;}.PopularPosts .item-title a, .PopularPosts .item-snippet {font-size: 12px;}
 |
| Estilo Trendland (3 posts) |
/* Estilo 3 - Trendland - 3 entradas */a.closeflyout {float: right;margin: 0;padding: 0;font-size: 14px;line-height: 14px;color:#333;}a.closeflyout:hover {text-decoration: none; color: red;}.PopularPosts {display:none;}.PopularPosts {position: fixed;bottom:0;right:0;width: 400px;margin:0;padding: 10px;text-align: center;background: #eee;border:1px solid #999;border-radius: 10px 0 0 10px;z-index: 999;}.PopularPosts h2 {display: inline;margin: 0 20px;text-align: center;}.PopularPosts .widget-content ul {font-size: 0;}.PopularPosts .widget-content ul li {position: relative;display: inline-block;*display: inline;zoom: 1;width: 30%;margin: 3px;padding: 0;vertical-align: top;}.PopularPosts .item-thumbnail {float: none;margin: 0;padding: 3px;border: 1px solid #999;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;}.PopularPosts img {width: 100%;height: auto;}.PopularPosts .item-title a {position: absolute;top: 66%;left: 0;width: 100%;height: 28px;overflow: hidden;line-height: 14px;font-size: 12px;color: #333;background: #eee;border-top: 1px dotted #999;border-bottom: 1px dotted #999;}.PopularPosts .item-snippet {display: none;}
 |
| Estilo Huffington Posts (cualquier número) |
/* Estilo 4 - Huffington Posts - x entradas */a.closeflyout {float: right;margin: 0;padding: 0;font-size: 14px;line-height: 14px;color:#333;}a.closeflyout:hover {text-decoration: none; color: red;}.PopularPosts {display:none;}.PopularPosts {position: fixed;bottom:0;right:0;width: 400px;margin:0;padding: 10px;text-align: center;background: #eee;border:1px solid #999;border-radius: 10px 0 0 10px;z-index: 999;}.PopularPosts h2 {display: inline;margin: 0 20px;text-align: center;}.PopularPosts .widget-content ul {font-size: 0;}.PopularPosts .widget-content ul li {padding: 4px 0;text-align: left;vertical-align: top;border-bottom: 1px solid #999;}.PopularPosts .widget-content ul li:last-child {border-bottom: 0;}.PopularPosts .item-thumbnail {float: left; margin: 0 10px 0 0; border: 1px solid #999;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;}.PopularPosts img {width: 100%;height: auto;}.PopularPosts .item-title a {line-height: 22px;text-transform: uppercase;}.PopularPosts .item-title a, .PopularPosts .item-snippet {font-size: 12px;}
 |
| Estilo Polaroid (3 posts) |
/* Estilo 5 - Polaroid - 3 entradas */a.closeflyout {float: right;margin: 0;padding: 0;font-size: 14px;line-height: 14px;color:#333;}a.closeflyout:hover {text-decoration: none; color: red;}.PopularPosts {display:none;}.PopularPosts {position: fixed;bottom:0;right:0;width: 400px;margin:0;padding: 10px;text-align: center;background: #eee;border:1px solid #999;border-radius: 10px 0 0 10px;z-index: 999;}.PopularPosts h2 {display: inline;margin: 0 20px;text-align: center;}.PopularPosts .widget-content ul {font-size: 0;}.PopularPosts .widget-content ul li {display: inline-block;*display: inline; zoom: 1;width: 25%;height: 150px;overflow:hidden;margin: 16px 5px 8px;padding: 3px;background: #fff;border: 1px solid #999;border-radius:4px;vertical-align: top;box-shadow: 1px 1px 4px #999;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;}.PopularPosts .widget-content ul li:nth-of-type(1) {-moz-transform: rotate(-3deg);-webkit-transform: rotate(-3deg);transform: rotate(-3deg);}.PopularPosts .widget-content ul li:nth-of-type(2) {-moz-transform: rotate(2deg);-webkit-transform: rotate(2deg);transform: rotate(2deg);}.PopularPosts .widget-content ul li:nth-of-type(3) {-moz-transform: rotate(4deg);-webkit-transform: rotate(4deg);transform: rotate(4deg);}.PopularPosts .item-thumbnail {float: none;margin: 0;}.PopularPosts img {width: 100%;height: auto; }.PopularPosts .item-title a {font-size: 12px;text-transform: uppercase;}.PopularPosts .item-snippet {display: none;}
 |
| Estilo texto (cualquier número) |
/* Estilo 6 - Text - x entradas */a.closeflyout {float: right;margin: 0;padding: 0;font-size: 14px;line-height: 14px;color:#333;}a.closeflyout:hover {text-decoration: none; color: red;}.PopularPosts {display:none;}.PopularPosts {position: fixed;bottom:0;right:0;margin:0;padding: 10px;text-align: left;background: #eee;border:1px solid #999;border-radius: 10px 0 0 10px;z-index: 999;}.PopularPosts h2 {margin: 0 20px 8px 0;text-transform: uppercase;}.PopularPosts .widget-content ul {list-style: circle;}.PopularPosts .widget-content ul li {padding:0;}.PopularPosts .item-thumbnail, .PopularPosts .item-snippet {display:none;}.PopularPosts .item-title a {font-size: 12px;line-height: 14px;}
Agradecimientos
A Paulino, administrador dewww.instalacionesyeficienciaenergetica.com, que me dió a conocer el plugin de WP, me encargó su construcción y tuvo a bien permitirme publicarlo libremente para general conocimiento.MESOTHELIOMA LAW FIRMDONATE CAR TO CHARITY CALIFORNIAHARDDRIVE DATA RECOVERY SERVICESDONATE A CAR IN MARYLAND DONATING A CAR IN MARYLAND,DONATE CARS ILLINOIS,CRIMINAL DEFENSE ATTORNEYS FLORIDA ,BEST CRIMINAL LAWYER IN ARIZONASTRUCTURED ANNUITY SETTLEMENT,ASBESTOS LAWYERS,NUNAVUT CULTURE,DAYTON FREIGHT LINES ,Bextra Bankruptcy Dental Plan Private JetMundial FootballFIFA World Cup Vestidos de Perros y gatosHosting Dominio web movilSelling annuity payments for cashSelling annuity payments for cash,Sell my structured settlement,Sell structured settlement,Structured settlementStructured settlement companies,Sell my annuity payments lump sum,Car accident lawyer Denver,Accident injury attorneys,Sell my annuity
MESOTHELIOMA LAW FIRMDONATE CAR TO CHARITY CALIFORNIAHARDDRIVE DATA RECOVERY SERVICESDONATE A CAR IN MARYLAND DONATING A CAR IN MARYLAND,DONATE CARS ILLINOIS,CRIMINAL DEFENSE ATTORNEYS FLORIDA ,BEST CRIMINAL LAWYER IN ARIZONASTRUCTURED ANNUITY SETTLEMENT,ASBESTOS LAWYERS,NUNAVUT CULTURE,DAYTON FREIGHT LINES ,Bextra Bankruptcy Dental Plan Private JetAsi que mejor me fue a un hotel y motel FIFA World Cup Mundial Football New Orleans mesothelioma lawyer y mas que todo que la pase bien en ese hostal y me me fui de viaje a tennessee mesothelioma attorney donde EEUU me pidio la visa pero mejor aun many people in mesothelioma trial lawyers pero me fui a travel Alaska nebraska mesothelioma attorney pero mas aun con mesothelioma attorney nebraska mas siempre fue asi des hace mucho time merlin olsen lawsuit,Selling annuity payments for cash,Sell my structured settlement,Sell structured settlement,Structured settlement,Structured settlement companies,Sell my annuity payments lump sum,Car accident lawyer Denver,Accident injury attorneys,Sell my annuity