Chyberart - Malam semua sahabat Chyberart, kali ini Chyberart ingin berbagi
template yang lumayan keren nih gan yang dapat dari teman blog saya. Template ini mungkin kloningan dari
Cyber4rt makanya dinamakan Cyber4rt Template. Baca dulu petunjuknya
yaa gan...
Cara Pemakaian:
1. Slider
Isi dengan code HTML berikut
<div id='featuredContent'>
<div class='sliderwrapper' id='featured-slider'>
<script>
document.write("<script src=\"/feeds/posts/default/-/Tricks?max-results="+numposts3+"&orderby=published&alt=json-in-script&callback=showrecentposts3\"><\/script>");
</script>
</div>
<div id='paginate-featured-slider'>
<ul>
<script>
document.write("<script
src=\"/feeds/posts/default/-/Tricks?max-results="+numposts3+"&orderby=published&alt=json-in-script&callback=showrecentposts4\"><\/script>");
</script>
</ul>
<div class='clear'>
</div>
</div>
<script type='text/javascript'>
featuredcontentslider.init({
id: "featured-slider", //id of main slider DIV
contentsource: ["inline", ""], //Valid values: ["inline", ""] or ["ajax", "path_to_file"]
toc: "markup", //Valid values: "#increment", "markup", ["label1", "label2", etc]
nextprev: ["", ""], //labels for "prev" and "next" links. Set to "" to hide.
revealtype: "mouseover", //Behavior of pagination links to reveal the slides: "click" or "mouseover"
enablefade: [true, 0.4], //[true/false, fadedegree]
autorotate: [true, 5000], //[true/false, pausetime]
onChange: function(previndex, curindex){ //event handler fired whenever script changes slide
//previndex holds index of last slide viewed b4 current (1=1st slide, 2nd=2nd etc)
//curindex holds index of currently shown slide (1=1st slide, 2nd=2nd etc)
}
})
</script>
</div>
Tulisan yang berwarna
merah silahkan ganti dengan label and, atau kalau mau otomatis dengan post terbaru, silahkan hapus
/-/Tricks
2. Label
Isi ganti dengan label kamu contoh.
3. Social
Isi dengan script berikut.
4. Update
Isi dengan script berikut