Side Ads

Cara Membuat Cloud Category di Blogger

Mau share sedikit nih, cara membuat cloud kategori/label yang berputar di blog. Begini caranya:
1. Log in di blogger.com seperti biasa
2. Pada dasbor klik Rancangan dan pilih Edit HTML
3. Lalu beri check list pada Expand Template Widget
4. Cari kode ini <b:section class='sidebar' id='sidebar'> (untuk mempermudah pencarian gunakan Ctrl+F)
5. Letakkan kode ini di bawah kode di atas:
<b:widget id='Label99' locked='false' title='Acacia Cloud Category' 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'>Blogumulus by <a href='http://www.gudangkoran.blogspot.com/'>gudang</a> and <a href='http://www.gudangkoran.blogspot.com'>gudangkoran</a></div>
<script type='text/javascript'>
var so = new SWFObject(&quot;http://sites.google.com/site/bloggerustemplatus/code/tagcloud.swf&quot;, &quot;tagcloud&quot;, &quot;260&quot;, &quot;250&quot;, &quot;7&quot;, &quot;#ea9999&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>
<b:widget id='HTML2' locked='false' title='' type='HTML'>
<b:includable id='main'>
  <!-- only display title if it's non-empty -->
  <b:if cond='data:title != &quot;&quot;'>
    <h2 class='title'><data:title/></h2>
  </b:if>
  <div class='widget-content'>
    <data:content/>
  </div>


Kode berwarna bisa disesuaikan dengan keinginan:
Acacia Cloud Category : Judul
260 : Lebar
250 : Panjang
#ea9999 : Warna Background

Postingan terkait:

Belum ada tanggapan untuk "Cara Membuat Cloud Category di Blogger"

Footer Ads