In this post im gonna explain how to add jQuery Smooth slideshow to your blogger.You can add this slideshow to top of your posts.Actually this is also very easy to add. ts just widget.Few days ago i posted about Attractive jQuery photo galley. Im using Jquery and Css3 for this photo gallery.
Follow these step to add to your blog.
jQuery Smooth Featured SlideShow For Blogger
1. Log in to blogger account and Click drop down.
2. Now select "Layout" Like Below.
4. Paste below code.
<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/AVvXsEhEJoVQkRJzDtp8x1QNjbfeOAGqLPN2xI7gi_q2_3-nI1asWDHMn2p4Hb5zCqLz7Mqcxs4GrEFG2E4yyjhiFQhdMzYiKRc7USb9kU97Od1_mByPM2YdlPBr2YOrtcKfllCU7kI7NuPKUZc/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/AVvXsEgsH2OP0X5YCdbx7x_34awHU3Rjm6KT9lySgzLS38xvMUGvIOwo8A0gSIVhDwF2ItpRXBKrlSX1IK7CQZnsVlUGjlJ08ihMYugJGn85WqmmHgK9JmWKWaWNMMtwSXMFEfWBY2DVuvWo8Qs/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/AVvXsEhiBQP8wqwZVjrGesvZ4GhCae1gtwhvRt3Md8-ELyrnwER6dtdz05dmdaxDCkR_PknWkvM5JXvhPVKsbtZ06WJcYQaRdqkNoAlpfuVYPa_YMvJQgQfYJWUKAZkkZvZ36K2PbKzr0-IJVow/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/AVvXsEiQbl7jMiJ2Sk6HTdxi67nyUyy9TRgnEhYJhIh4H7_yppxxaqEWfKl6f716z0Cy-UrUD9qCt26ZCY6rVzsnpN1qY9NHNujNCnXBp-IXcAwiq7wdvj_z4CZfsBxOw3ICCvUSBqdTT4ikyes/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="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisZHc8mQq9tWhLL7_XE4mPpe1eTqlDvXO7C2bAUzH-4NFF9gRO-I-cwF7i6EyImXY3KD2OePYujbz53dw_xkjGzAe1C0fSdKLR3Whhxk3oLaxunknBoU0xKVILmAikz3A0OE-rfhjiGSs/s1600/btrix-London_Barrier.jpg" /> <img alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcAAWjP4GTWnfp-lKmpVr6B1Q2HOFaNZh94hYuJffNgc7b1_Z6EZ0bYwBfzZcBXiuCELglRvL-2DYUZCoDwOAZifG_vocgijqrCOdYgTUNqVWe8H5hC6Y187BZbD7aYOeIx8NbOHt8MNw/s1600/btrix-sunset.jpg" /> <img alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCXiBABKNyPvrGDo-4rRhCOP1YcFJ99QIHZFO6sfkcX9Mv0pvnREywVhcS5B217yWGTqVi4q0ZpjL9mw6MYwbgYp7p6DFpYnZhRrRdRe-wPhNU42EFjwtOKAHvm-UDkv2RGZkfYxVQZmY/s1600/btrix-car-wallpapers.jpg" /> <img alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyX29BqIB4s_Jte9otvffp8q76ADaTGH6E1-5YQE_R7j-W1UnNFvIkkohy99GFzduIenyPXv_-5wVUjW0HHJrucfcgGbzG-a3NZPszi4CvHqhCTttYFJHnhz6JAWxJeM0DDhQH6dHg9GA/s1600/btrix-spring-nature.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>You can change photos by changing Image URLs
You can change image discription by changing red color text. 5. Now save your HTML/Javascript'.You are done.
Hope this jQuery Smooth Featured SlideShow helps to make your blog attractive.
Không có nhận xét nào:
**Đăng nhận xét