Follo Molo (Become My Stalker And Ask Me To Stalk Back....I prefer a Yandere...)

Bored?You can play around with these line of colours for a while.....it is 100times better than PS4...because I dont have one....

12 Disember 2010

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(&quot;http://sites.google.com/site/bloggerustemplatus/code/tagcloud.swf&quot;, &quot;tagcloud&quot;, &quot;240&quot;, &quot;300&quot;, &quot;7&quot;, &quot;#ffffff&quot;);
// uncomment next line to enable transparency
//so.addParam(&quot;wmode&quot;, &quot;transparent&quot;);
so.addVariable(&quot;tcolor&quot;, &quot;0x333333&quot;);
so.addVariable(&quot;mode&quot;, &quot;tags&quot;);
so.addVariable(&quot;distr&quot;, &quot;true&quot;);
so.addVariable(&quot;tspeed&quot;, &quot;100&quot;);
so.addVariable(&quot;tagcloud&quot;, &quot;<tags><b:loop values='data:labels' var='label'><a expr:href='data:label.url' style='12'><data:label.name/></a></b:loop></tags>&quot;);
so.addParam(&quot;allowScriptAccess&quot;, &quot;always&quot;);
so.write(&quot;flashcontent&quot;);
</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..

Reply

mcm mane nak tau kod sidebar yg laen dripd tu?

Reply

Nota: Hanya ahli blog ini sahaja yang boleh mencatat ulasan.

At the post page,this banner can be spin around ;)