En este articulo te mostrare como implementar un asombroso nitido slideshow con jQuery para tu blogger.Puedes añadir este slideshow en la parte superior de tus entradas.Es muy sencillo de aplicar a tu plantilla.Pues es simple widget.Estoy usando los codigos de Jquery y Css3 para esta galeria de fotos.
Ejemplo:para verlo en accion ve a http://tricksblogspot.blogspot.com/
Pasos para añadir implementar un asombroso nitido slideshow con jQuery .
1.Entra en tu cuenta de blogger
2.Luego selecciona Diseño
3.Da Click Añadir un Gadget y selecciona 'HTML/Javascript
4. Copia y pega el siguente codigo dentro del espacio de HTML/Javascript
<style> .nivoSlider { position:relative; } .nivoSlider img { position:absolute; top:0px; left:0px; } .nivoSlider a.nivo-imageLink { position:absolute; top:0px; left:0px; width:100%; height:100%; border:0; padding:0; margin:0; z-index:60; display:none; } /* The slices in the Slider */ .nivo-slice { display:block; position:absolute; z-index:50; height:100%; } /* Caption styles */ .nivo-caption { position:absolute; left:0px; bottom:0px; background:#000; color:#fff; opacity:0.8; /* Overridden by captionOpacity setting */ width:100%; z-index:89; } .nivo-caption p { padding:5px; margin:0; } .nivo-caption a { display:inline !important; } .nivo-html-caption { display:none; } /* Direction nav styles (e.g. Next & Prev) */ .nivo-directionNav a { position:absolute; top:45%; z-index:99; cursor:pointer; } .nivo-prevNav { left:0px; } .nivo-nextNav { right:0px; } /* Control nav styles (e.g. 1,2,3...) */ .nivo-controlNav a { position:relative; z-index:99; cursor:pointer; } .nivo-controlNav a.active { font-weight:bold; } table { border-collapse:separate; border-spacing:0; } caption, th, td { text-align:left; font-weight:normal; } blockquote:before, blockquote:after, q:before, q:after { content:""; } blockquote, q { quotes:"" ""; } /* HTML5 tags */ header, section, footer, aside, nav, article, figure { display: block; } a, a:visited { color:#2d3536; text-decoration:none; border-bottom:1px dotted #826a4d; } a:hover, a:active { color:#9e805c; text-decoration:none; } #slider-wrapper { background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUfVyjI0WwGmo92uq0-BhXMKbDZBKSqM9NKCyZLy7bx0wmNNfkXZ_yqHydAZiEKzThch2EcWgiB_6RO5u2ia5-JfiMWXNBSxpJiLzCytKaOoMiFGIfTlrzWSZ12eS_QAKEYzP07nbTa6Y/s1600/slider.png) no-repeat; width:494px; height:310px; margin:0 auto; padding-top:23px; margin-top:50px; } #slider { position:relative; width:430px; height:250px; margin-left:32px; background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIponmrQ7_i0FZvM-4mnJxdoKrFz_IyGSa7lbfvC2bcRxYpmPhhEDpOpzgqi0RUXpQ3esVnQK14d57ShVfbqVoNU1oTvP0_8X0jAvyD_FGFUqAEh_EFABhECMyiE76PxLMk7Ls6Wwvyf4/s1600/loading.gif) no-repeat 50% 50%; } #slider img { position:absolute; top:0px; left:0px; display:none; } #slider a { border:0; display:block; } .nivo-controlNav { position:absolute; left:163px; bottom:12px; background: #000000; -moz-border-radius: 10px; -webkit-border-radius: 10px; padding: 3px; border: 2px solid #CCC; opacity: 0.7; z-index: 99; } .nivo-controlNav:hover{opacity: 1;} .nivo-controlNav a { display:block; width:22px; height:22px; background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhh74umh9rSD6KJNDI11LysZ_XZ23VoF0FpUWTYwgxDDXEFAB8nTQXzZS1VhPedPU3-HpAE4cQjRhC3wzzdhX5ZM4PBJh0NCetMXNK5A3pxnt978fS0M6xxfBEQ5j2APes7cVs4l-N1qZ4/s1600/bullets.png) no-repeat; text-indent:-9999px; border:0; margin-right:0px; float:left; } .nivo-controlNav a.active { background-position:0 -22px; } .nivo-directionNav a { display:block; width:35px; height:65px; background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgD4-DdTFhbCsDqxPSGtBLewLN84dQjDr5IFrkolGTqJ5vkGqaKhyl_V-kIHx-i9GR1LxYK_qepcBjgnzfpeVRopYTDgmokta5me444k7STmIj3FnK4VR_HznFyzwsd9RlbLk6R_BKeAk4/s1600/arrows.png) no-repeat; text-indent:-9999px; border:0; } a.nivo-nextNav { background-position:-35px 0; right: -40px; } a.nivo-nextNav:hover{right: -41px;} a.nivo-prevNav { left:-40px; } a.nivo-prevNav:hover{left: -41px;} .nivo-caption { text-shadow:none; font-family: Helvetica, Arial, sans-serif; } .nivo-caption a { color:#efe9d1; text-decoration:underline; } .nivo-directionNav a{top: 40%;} .clear { clear:both; } </style> <br /> <div id="wrapper"> <div id="slider-wrapper"> <div class="nivoSlider" id="slider"> <img alt="" src="http://hdwallpapers2013.com/wp-content/uploads/2012/11/lowers-wallpaper-free-430x250.jpg" /> <img alt="" src="http://hdwallpapers2013.com/wp-content/uploads/2012/10/3d-pictures-430x250.jpg" /> <img alt="" src="http://hdwallpapers2013.com/wp-content/uploads/2012/12/Animal-Polar-Bear-Wallpaper-430x250.jpg" /> <img alt="" src="http://hdwallpapers2013.com/wp-content/uploads/2012/09/gold-rings-for-women-430x250.jpg" /> </div> </div> </div> <script src="http://bloggertrixcode.googlecode.com/files/jquery-1.4.3.min.js" type="text/javascript"></script> <script src="http://bloggertrixcode.googlecode.com/files/jquery.nivo.slider.pack.js" type="text/javascript"></script> <script type="text/javascript"> $(window).load(function() { $('#slider').nivoSlider({directionNavHide:false}); }); </script>
Nota:Las Imagnes utilizadas en este slidershow miden 430 px de ancho y 250 px de alto.
Puedes cambiar las fotos cambiando la URL de Image en color rojo
5. Luego guarda el HTML/Javascript'.Todo esta listo para que tus visitantes puedan disfrutar de tus imagenes deslizables haciendo tu blog mas atractivo.
0 comentarios:
Publicar un comentario