Friday, January 14, 2011

How to add flash tag cloud widget to yuor blog

0 comments
If you want a flash tag cloud to your blog,then follow the below steps.

  1. Back up your template
   2.    Copy the below code

<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'>Blogumulus by <a href='http://www.roytanck.com/'>Roy Tanck</a> and <a href='http://www.bloggerbuster.com'>Amanda Fazani</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;280&quot;, &quot;250&quot;, &quot;7&quot;, &quot;00CCFF&quot;);
// uncomment next line to enable transparency
//so.addParam(&quot;wmode&quot;, &quot;transparent&quot;);
so.addVariable(&quot;tcolor&quot;, &quot;0xFF3333&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>


        3.    Past the above code just under the code 

<b:section class='sidebar' id='sidebarright' preferred='yes'>

      4.    Preview,check working correctly then save the template


Customise your flash tag cloud widget

Background color

code: var so = new SWFObject(&quot;http://sites.google.com/site/bloggerustemplatus/code/tagcloud.swf&quot;, &quot;tagcloud&quot;, &quot;280&quot;, &quot;250&quot;, &quot;7&quot;, &quot;00CCFF&quot;);

Find for the above code ,replace the part highlighted in red color with your HEX(hexadecimal) color.

Width

code: var so = new SWFObject(&quot;http://sites.google.com/site/bloggerustemplatus/code/tagcloud.swf&quot;, &quot;tagcloud&quot;, &quot;280&quot;, &quot;250&quot;, &quot;7&quot;, &quot;00CCFF&quot;);
Change the highlighted part

Hight

code: var so = new SWFObject(&quot;http://sites.google.com/site/bloggerustemplatus/code/tagcloud.swf&quot;, &quot;tagcloud&quot;, &quot;280&quot;, &quot;250&quot;, &quot;7&quot;, &quot;00CCFF&quot;);

If you want change the hight of widget,edit the highlighted part.

Font color

code: so.addVariable(&quot;tcolor&quot;, &quot;0xFF3333&quot;);

Find the above code and replace the highlighted part with your HEX color

Take a look

Please add your comments!

Leave a Reply