Tips blog kali ini adalah cara membuat nivo slider di blog. Nivo slider adalah salah satu slider terbaik yang tersedia di web, banyak para blogger yang menggunakan nivo slider ini. Buat sobat blogger yang ingin menambahkan nivo slider kedalam blog nya, jangan ragu lagi untuk mengunakan nivo slider yang satu ini. Nivo slider yang satu ini selain cara membuat nya sangat mudah,sobat tingggal add gadget HTML saja, penampilan nya juga sangat keren. Coba saja lihat demo nya dibawah ini.
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/AVvXsEgT5GhcRlIstsvDcg1N7UYusHWI82-zCUCHrUOLN6ZJ6hnuScdvKuqH2SZDdZOOxvdo_JelSK4UABBFin8Mlq5qSxGAvIzUHo3kAv0u3qyV9rFPp0UBH_9l53Bqs7SQ6TrM6RhoyWLrNBw/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/AVvXsEjxWeD-GyU19GXaPhO_27ZrsQog3rwGtc1o8hdPmmFpe-MCTINSuhElMo9PDqlardY-s01NQKtX76L_hVNVm5LRIGTawNd_Bm1poNQ9WLb8J-EspfCrSofobHB-e7VfCWhDq_IaK1hnlrs/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/AVvXsEhn9-pZTOS3b3OUBMOcckZk4eCyP96SmWWihR6LvEdXcXRFJMtVfBmLBrPyjndWtNvLR36aIk9ZXloRrY8FeSir_E5IXB893dD7F-ys34ZuKwB6gPWyKS5RhnYpZ4_5D32Qh0CrA4IGWHk/s1600/helperblogger.com-4.png"
alt="Slider Image 2" title="You Can Add Anything Here">
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvwCkD9Q-jkOUk5Sb3sxA3obCh2oDc_QRqZp0NGKPxSvkJraT3TF67EVW2oS2f8jZM9M_eR4yoBA3yLKl0XBhYga2_z9djB5WuSdyQ8WAzEnti43mP-8lfoyXDdBV38n2_Ri_FnTAAEYk/s1600/helperblogger.com-3.png"
alt="Slider Image 2" title="Like Image Description">
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGF6dntVJaIr63Uq-g8K-_ca1dtliq3Wy7m4XzAskz3FpoiACPHGqrENZyI1-nx8QZUdj3qQNMiX_XIgNoQlvnHARSRiPEEQRStHf45nDyD-YEgGGNUxlK9Nm4lEXl5Qagf3nOHaV4s5Y/s1600/helperblogger.com-2.png"
alt="Slider Image 2" title="Image Info">
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEism7H6-wwWNY1bOH4Df7IGIcfffeWFyAyva8JGPo69fqu0IT2EoI5Cxvfz-OL4zRV1BlIaQnZ7U1AFjt7Mm8yYh_2cMRsX6yuQzQJhgPA5knb4VlmTzkVj7Ecg4p91yf4lN_Sq3mLFMe8/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..
0 Response to "Cara Membuat Nivo Slider Di Blog"
Post a Comment