langsung saja cara membuatnya
1. Menu Dashboard, klik Tata Letak, klik Edit HTML.
2. Centangin checkbox Expand Widget Template.
3. kalian cari kode berikut :
2. Centangin checkbox Expand Widget Template.
3. kalian cari kode berikut :
4. kalo udah ketemu, kalian ganti kode ]]></b:skin> dengan kode berikut:]]></b:skin>
/*----------------------------------------------------5. Klik Simpan deh.
{--------} carousel slider {--------}
----------------------------------------------------*/
.carousel{
float:left;
margin: 0;
padding:0px;
}
.carousel .widget {
width: 920px; /*sesuaikan dengan template*/
background:#000000;
margin: 0;
padding:0;
}
.carousel h2{
display:none;
}
.stepcarousel{
position: relative;
overflow: scroll;
width: 980px;
height: 155px;
}
.stepcarousel .belt{
position: absolute;
left: 0;
top: 0;
}
.stepcarousel .panel{
float: left;
overflow: hidden;
margin: 2px;
width: 106px;
}
.stepcarousel .panel img{
float: left;
background:#666666;
margin: 0px;
padding:2px;
border:1px solid #ccc;
}
.stepcarousel .panel img:hover{
background:#000000;
}
]]></b:skin>
<script src='http://sites.google.com/site/anchamanproject/CopyjQuery-1.2.6.js' type='text/javascript'/>
<script src='http://sites.google.com/site/anchamanproject/CopyStepCarouselViewer.js' type='text/javascript'/>
Buat nambahin ke widgetnya. langkah-langkahnya :
1. Menu Dashboard, klik Tata Letak, klik Elemen Halaman.
2. Klik Tambah Gadget. Klik HTML/Javascript.
3. Copy Paste kode berikut :
<script type="text/javascript">4. Klik Simpan.
stepcarousel.setup({
galleryid: 'mygallery', //id of carousel DIV
beltclass: 'belt', //class of inner "belt" DIV containing all the panel DIVs
panelclass: 'panel', //class of panel DIVs each holding content
autostep: {enable:true, moveby:1, pause:3000},
panelbehavior: {speed:500, wraparound:false, persist:true},
defaultbuttons: {enable: true, moveby: 1, leftnav: ['http://sites.google.com/site/anchamanproject/Left-Arrow.png', 30, 60], rightnav: ['http://sites.google.com/site/anchamanproject/Right-Arrow.png', -65, 60]},statusvars: ['statusA', 'statusB', 'statusC'], //register 3 variables that contain current panel (start), current panel (last), and total panels
contenttype: ['inline'] //content setting ['inline'] or ['external', 'path_to_external_file']
})
</script>
<div id="mygallery" class="stepcarousel">
<div class="belt">
<!-- Ganti link dengan link kalian -->
<div class="panel">
<a href="URL-ANDA" title="TITLE"> <img src="URL-GAMBAR" width="100" height=" 148" title="TITLE"/></a>
</div>
<div class="panel">
<a href="http://klipinggame.blogspot.com/2011/11/explodemon.html" title="explodemon"> <img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDxKywQqbN2Vy5bcpldp9KQ-xtyPAY5ORLeeajNyR_8ocHHzYfo7E_92-fIwhSIOPKco8s1AbZ0_ckzolJGlL3Mvx1yI745EURoHkdq-ONsoztGyXBCjYYiADEVYbAxDqHVRBz2RkNW8MJ/s400/t-expdmon.jpg" width="100" height=" 148" title="explodemon"/></a>
</div>
<div class="panel">
<a href="http://klipinggame.blogspot.com/2011/10/pro-evolution-soccer-2012-reloaded.html" title="PES2012"> <img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVvGL0d8YF4sAhQXuQzw8Gi7eN8jwAkR_YqtnilsMf1maH7cmd52BUJai8TPZS813FpUd3S7mdZU6KuO0xIdHdlNv8tGlpuhFXLst2lHxNshxd2eR90HDL9zugxMliwdFWbXPF9kubZ3mZ/s400/2mOvk.jpg" width="100" height=" 148" title="PES2012"/></a>
</div>
<!-- copas code diatas untuk memperbanyak tampilan -->
</div>
</div>
nb:
- widget ini biasanya dipasang di header.kalo susah pasang diheader.pasang atas posting aja,sesuaikan dengan lebar (width) template anda
- untuk menghilangkan fungsi otomatis slider,autostep diganti jadi false,cth : autostep: {enable:false, moveby:1, pause:3000},
- untuk ukuran gambar tampilan jg bs dirubah. pada gadget/widget sesuaikanlah width dan heigth.
- selamat mencoba.trial n error ..............semoga bermanfaat. hehehehe
Anda baru saja membaca artikel yang berkategori blogger
dengan judul Memasang Slide Carousel di Blogger. Anda bisa bookmark halaman ini dengan URL https://blogbudakbungo.blogspot.com/2013/03/memasang-slide-carousel-di-blogger.html. Terima kasih......??? sampai jumpa di blog saya berikutnya......??
Ditulis oleh:
blog budak bungo - Wednesday, 6 March 2013