Cara Buat Label Bergerak/Animasi
Klik Untuk Lihat Demo
1. Sign in ke Blogger dashboard dan pergi ke Design > Edit HTML. Download full template sebagai backup.
2. Tekan CTRL F untuk search kod:
<b:section class='sidebar' id='sidebar' preferred='yes'>
atau kod yang kelihatan serupa
(Nota:Itu kod untuk sidebar,kod sidebar korang mungkin berbeza bergantung pada template yang digunakan)
Pastekan kod ni dibawah kod tersebut
<b:widget id='Label99' locked='false' title='Labels' type='Label'>
<b:includable id='main'>
<b:if cond='data:title'>
<h2><data:title/></h2>
</b:if>
<div class='widget-content'>
<script src='http://sites.google.com/site/bloggerustemplatus/code/swfobject.js' type='text/javascript'/>
<div id='flashcontent'></div>
<script type='text/javascript'>
var so = new SWFObject("http://sites.google.com/site/bloggerustemplatus/code/tagcloud.swf", "tagcloud", "240", "300", "7", "#ffffff");
// uncomment next line to enable transparency
//so.addParam("wmode", "transparent");
so.addVariable("tcolor", "0x333333");
so.addVariable("mode", "tags");
so.addVariable("distr", "true");
so.addVariable("tspeed", "100");
so.addVariable("tagcloud", "<tags><b:loop values='data:labels' var='label'><a expr:href='data:label.url' style='12'><data:label.name/></a></b:loop></tags>");
so.addParam("allowScriptAccess", "always");
so.write("flashcontent");
</script>
<b:include name='quickedit'/>
</div>
</b:includable>
</b:widget>
<b:includable id='main'>
<b:if cond='data:title'>
<h2><data:title/></h2>
</b:if>
<div class='widget-content'>
<script src='http://sites.google.com/site/bloggerustemplatus/code/swfobject.js' type='text/javascript'/>
<div id='flashcontent'></div>
<script type='text/javascript'>
var so = new SWFObject("http://sites.google.com/site/bloggerustemplatus/code/tagcloud.swf", "tagcloud", "240", "300", "7", "#ffffff");
// uncomment next line to enable transparency
//so.addParam("wmode", "transparent");
so.addVariable("tcolor", "0x333333");
so.addVariable("mode", "tags");
so.addVariable("distr", "true");
so.addVariable("tspeed", "100");
so.addVariable("tagcloud", "<tags><b:loop values='data:labels' var='label'><a expr:href='data:label.url' style='12'><data:label.name/></a></b:loop></tags>");
so.addParam("allowScriptAccess", "always");
so.write("flashcontent");
</script>
<b:include name='quickedit'/>
</div>
</b:includable>
</b:widget>
Save,dah siap=)
Korang bole ubah yang ni:
240 dan 300 adalah lebar dan tinggi.
ffffff warna latar belakang.
333333 -->warna teks.
100 -->kelajuan animasi.
12 -->saiz teks.
3 ulasan
Terima kasih diatas tutorial ini!.. I've been loooking for this..
Replymcm mane nak tau kod sidebar yg laen dripd tu?
Replylagi ka mane ni?
ReplyNota: Hanya ahli blog ini sahaja yang boleh mencatat ulasan.