Akhirnya membuat posting jg,setelah sekian lama....... hehehehe
postingan kali ini tentang slide carousel,awalnya liat dblog ganool,kok bagus ya,trus ku coba2 (trial n error) dblog game ku.eh bisa jg .hehehe
neh previewnya or contohnya klik disini
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/AVvXsEiGvEtroqBGH-t_gfXx_ia4FwbbFlyEIMqh9OAr36heZ3nTELFafuP72dmXQFhcFPE_F3yMuhEqgF98NYguazcy3NcVam60K_OfqF27OXK2ccnVwMWuaMDhvhrzf_K_num6G20x9cgzb87N/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/AVvXsEiIkYGvKP0ongPdWup4Rj-WXe3xxb3hmg0oc2gPAK3XZTPKoyLEnVN3Dxh0D75BPchnUbuMqYvaimgO6tiDfrIdgbS9ApzuaKMWvZ-2OVxnv4ZHcpOmRdwn48HhyphenhyphenkK79nWReougVN9rDMIj/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
5 komentar:
Nice info.Kunjung bslik ok
b-uang
m-dukung
puyeng di aplikasikan ke template blog ane gan :(
nice post
Side Story Of Me ~ Just Name No Threat
Ketik Kode disamping kanan gambar yang akan digunakan. Ex:b-dukung, b-malu, b-??, dll. Untuk Kode Piggy (p) ex: p-hihihi, p-gila, dll. dan Untuk Kode Default (d) ex: d-kabur, d-amuk, dll. Selamat Mencoba^^
Post a Comment
Silahkan memberi komentar,jangan spam y ^^