Thursday, November 26, 2009

Animated Flash Tag Cloud For Blogger

In This section Let see how to add Animated tag Cloud in sidebar , which attracts people to click on it .Thus the Visitors will browse more pages in the Blog . The steps are simple in adding the code to your Template code . By default the flash widget will be in white background, with gray labels/text, and of dimensions 240x300. And all these can be changed so as to suit your blog's layout and colors.


To start with:
Go to the LAYOUT section, and click on EDIT HTML.
Now find this line/code:

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

And immediately after this code line, paste these code lines(in new line):










<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://halotemplates.s3.amazonaws.com/wp-cumulus-example/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> via <a href='http://bloggerstop.net'>BloggerStop.Net</a></div>
<script type='text/javascript'>
var so = new SWFObject(&quot;http://halotemplates.s3.amazonaws.com/wp-cumulus-example/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>





By default,
    * Width is set to 240px
    * Height is set to 300px;
    * Background color is white
    * Test color is Grey
    * Font size is "12"



The changes can done in the Following Lines 


var so = new SWFObject("http://halotemplates.s3.amazonaws.com/wp-cumulus-example/tagcloud.swf", "tagcloud", "240", "300", "7", "#ffffff");

Labels: ,

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home