Cara Membuat Nivo Slider Di Blog
Wednesday, November 21, 2012
Edit
Bagaimana ? keren gak sob ? Kalau sobat tertarik untuk memasang nya di blog, tinggal masukan kode di bawah ini ke add gadget HTML :
<style> #slider { position:absolute !important; top:50%; left:50%; width:650px; height:350px; margin-top:-175px; margin-left:-325px; -webkit-box-shadow: 0px 0px 5px rgba(0,0,0,.5), 0px 0px 20px rgba(0,0,0,.2); -moz-box-shadow: 0px 0px 5px rgba(0,0,0,.5), 0px 0px 20px rgba(0,0,0,.2); box-shadow: 0px 0px 5px rgba(0,0,0,.5), 0px 0px 20px rgba(0,0,0,.2); } .nivoSlider img { position:absolute; top:0; left:0; display:none; } .nivoSlider a { border:0; display:block; } .nivo-slice { display:block; position:absolute; z-index:5; height:100%; } .nivo-box { display:block; position:absolute; z-index:5; } .nivo-caption { position:absolute; left:75px; bottom:29px; width:498px; padding-top:13px; padding-bottom:13px; z-index:8; border:1px solid #000; border-left-color:rgba(0,0,0,.5); border-right-color:rgba(0,0,0,.5); -webkit-box-shadow: inset 0px 1px 0px rgba(255,255,255,.15), 0px 1px 3px rgba(0,0,0,.7); -moz-box-shadow: inset 0px 1px 0px rgba(255,255,255,.15), 0px 1px 3px rgba(0,0,0,.7); box-shadow: inset 0px 1px 0px rgba(255,255,255,.15), 0px 1px 3px rgba(0,0,0,.7); background: -webkit-linear-gradient(top, rgba(72,73,76,0.9) 0%,rgba(57,58,60,0.9) 50%,rgba(50,51,53,0.9) 51%,rgba(38,39,40,0.9) 100%); background: -moz-linear-gradient(top, rgba(72,73,76,0.9) 0%,rgba(57,58,60,0.9) 50%,rgba(50,51,53,0.9) 51%,rgba(38,39,40,0.9) 100%); background: -o-linear-gradient(top, rgba(72,73,76,0.9) 0%,rgba(57,58,60,0.9) 50%,rgba(50,51,53,0.9) 51%,rgba(38,39,40,0.9) 100%); background: -ms-linear-gradient(top, rgba(72,73,76,0.9) 0%,rgba(57,58,60,0.9) 50%,rgba(50,51,53,0.9) 51%,rgba(38,39,40,0.9) 100%); background: linear-gradient(top, rgba(72,73,76,0.9) 0%,rgba(57,58,60,0.9) 50%,rgba(50,51,53,0.9) 51%,rgba(38,39,40,0.9) 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e648494c', endColorstr='#e6262728',GradientType=0 ); -webkit-border-radius:4px; -moz-border-radius:4px; border-radius:4px; } .nivo-caption p { margin:0; font-family:'Helvetica Neue', Helvetica, Arial, sans-serif; font-size:14px; font-weight:bold; color:#fff; text-align:center; text-shadow:0px -1px 0px #000; } .nivo-caption a { display:inline !important; } .nivo-html-caption { display:none; } .nivo-directionNav a { position:absolute; bottom:30px; z-index:9; cursor:pointer; text-indent:-9999px; width:45px; height:39px; background-image:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLDiaUcexXBkvy4LRMRlHW9WrpqnKXQEwxIQsWVgL060uaT35PtHBOYtpfxT04Bw9e3Uk4GMiS9sQDwqdHhXXzNjBsOKTP7PmkdNfJadw0dkobws6jaKuQbOFfScluWKXcL2f3ZAWe8lo/s1600/helperblogger.com-arrows.png); background-repeat:no-repeat; } .nivo-prevNav { left:75px; background-position:0 0; box-shadow: 1px 0px 0px rgba(255,255,255,.2), 2px 0px 0px rgba(0,0,0,.4); } .nivo-nextNav { right:77px; background-position:-45px 0px; box-shadow: -1px 0px 0px rgba(255,255,255,.2), -2px 0px 0px rgba(0,0,0,.4); } </style> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> <script src="http://www.code.helperblogger.com/jquery.nivo.slider.js"></script> <script type="text/javascript"> $(window).load(function () { $('.nivoSlider').nivoSlider({ effect: 'sliceDown', directionNavHide: false, captionOpacity: 1, controlNav: false }); }); </script> <div id="slider" class="nivoSlider"> <img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7AQw4Sg4teqc0fd7BEIYTsT5DxGOo2qhOoBLuOzCTXFROx06g2IUW_3ATyaTlmT9MwwDeuaqfbOMjEkV49CP4sJfEUDeKtUVGjJzBEM9M4LDNWrnfg8jrRir4Vj1hbM058zaeti-IOz8/s1600/helperblogger.com-5.png" alt="Slider Image 1" title="This Is An Example Of A Caption"> <img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBK7wloDbBzz4Ru_6Ls1dgoO7VwFLqN-i190MPw6oItrgsgJk6031-Ri0SYCx7bY83XukDHGmAfUazoIwfXGw1oh-5wFzMuHNEi7oC-yFqzmjNSajDj2TB8jTOl8apRGcav9qclzA6eWk/s1600/helperblogger.com-4.png" alt="Slider Image 2" title="You Can Add Anything Here"> <img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0D2ijTUJbJt28K6WTtti9nUlM4aLvRQrTInU09PLMmPBcvgtWFXXnF8stummhNJkS1sCpLBVEDnpnexjRyhkhiNB0yWjtn53izziJuoFAFKpIQWy-3yEpJuG44TVW4QNZh79tHTaPVeQ/s1600/helperblogger.com-3.png" alt="Slider Image 2" title="Like Image Description"> <img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcaVxsSV5LhRSCKHvgEcU_GG5roGrTii4h3Qjrcyh60UlMY_vRZvFYGEPySYZJNAn_UNaDKdZ18MJcIxXjwlUk4Jdne_XUEp6xfvRp5OyyaGIrmaQlzp-RdZvKEV-0gg-MeOogfQjzMu4/s1600/helperblogger.com-2.png" alt="Slider Image 2" title="Image Info"> <img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTHUOJBCo8IPcXsthTUAW9inVPmk694aj0cGf4iAmiWMe3Z9jxhkxf19JY_8aRN1A8tcmWDlFtYgjs6LkQM0P2-x75xMvp9qwUpnhVtPvhzERaxtH6bcMMckb0wlHxYASGeGoppFuRvvE/s1600/helperblogger.com-1.png" alt="Slider Image 2" title="And Other Things"> </div>
Save dan lihat hasilnya.
Note : Bagian yang saya kasih warna silahkan sobat edit sesuai kebutuhan sobat.
Mudah kan sob Cara Membuat Nivo Slider Di Blog ini ?
Cukup sekian tips blog kali ini..Semoga Bermanfaat..