Showing posts with label Blogger Hack. Show all posts
Showing posts with label Blogger Hack. Show all posts

Blogumus Flash Animated Tag Label Cloud for Blogger

"Blogumus" is an Flash based tag cloud widget which uses scripts converted from Roy Tanck's WP Cumulus plugin for Wordpress. I fell in love with Roy's original Cumulus plugin when I saw it, and simply had to learn how to convert this for use in Blogger powered blogs. The result is the widget you can see in action at the top of this post. Hover your mouse over the Flash object to see the animation begin. In this post, I'll explain how you can add Blogumus to your own Blogger layout with ease!



Update: Improved Widget Code
I have updated the code required to run this widget to activate links in the tag cloud Flash movie. If you have already installed Blogumus, please replace your widget code with the new updated code, or reference the additional lines to modify your existing installation.

How it works
This widget uses a combination of JavaScript and Flash animation to parse and display your blog labels. Once installed in your template, it should work "out of the box" without any additional tweaking required, though of course you may prefer to change the variables for color, background and size if appropriate :) You should also be able to move the Label Cloud widget through the Page Elements page of your dashboard if you prefer display in a different layout location. To see Blogumus in action, both Flash and Javascript must be installed and enabled for your internet browser. However, it does degrade relatively gracefully, and label links will still be clickable (though not animated) for those who do not use JavaScript of Flash (including search engine spiders).

How to install Blogumus in your Blogger layout
Installing Blogumus in your Blogger layout is surprisingly simple! You should only need to copy and paste a section of code to your Blogger template, though any tweaks for the style of display will require some manual editing. Here are the steps required to install Blogumus in your Blogger layout:
1.Login to blogger dashboard
2.Go to Layout >> Edit HTML
3.Save Your template first and dont expand widget template
4.Choose where you want to add Flash label cloud in your blog ( Sidebar, Footer, Below Header or Above footer or any section). Now Search for respective
(section releted to sidebar, footer, etc). The line of code may look like as follows


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

or

<b:section class='footer' id='footer' showaddelement='no'>

or

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


5.Immediately after any one of the above line, Paste following widget 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'>

&lt;object type="application/x-shockwave-flash" data="http://halotemplates.s3.amazonaws.com/wp-cumulus-example/tagcloud.swf" width="
250" height="200" allowscriptaccess="always" &gt;
&lt;param name="movie" value="http://halotemplates.s3.amazonaws.com/wp-cumulus-example/tagcloud.swf" /&gt;
&lt;param name="bgcolor" value="#
FFFFFF" /&gt;
&lt;param name="flashvars" value="tcolor=0x
000000&amp;mode=tags&amp;distr=true&amp;tspeed=100&amp;tagcloud=&lt;tags&gt;
<b:loop values='data:labels' var='label'>
<a expr:dir='data:blog.languageDirection' expr:href='data:label.url' style='
12'><data:label.name/></a>
</b:loop>
&lt;/tags&gt;" /&gt;
&lt;p&gt;Blogumulus by &lt;a href='http://www.roytanck.com/'&gt;Roy Tanck&lt;/a&gt; and &lt;a href='http://www.bloggerbuster.com'&gt;Amanda Fazani&lt;/a&gt;&lt;/p&gt;
&lt;/object&gt;

</div>


<b:include name='quickedit'/>
</b:includable>
</b:widget>


6. Save your template and if every thing goes well you will see the Blogumus in your blog.


Customization

250 : To change the width of the Blogumus

200 : To change the height of the Blogumus

000000 : To change the color of text

ffffff : To change the background color of Blogumus

12 : To alter the size of labels
Continue Reading

Recent Posts with Thumbnails Widget for Blogger

recent posts widget for bloggerThis post explains how to add Recent Posts widget in Blogger with image thumbnails:


Features:
Thumbnails to Recent Posts
Comment Count


How to install this cool widget in your blog..


1. Sign into Blogger dashboard
2. Go to Layout » Add a gadget » html/javascript
3. Just copy and paste this code..


<script language="JavaScript">

imgr = new Array();


imgr[0] = "http://i43.tinypic.com/orpg0m.jpg";

imgr[1] = "http://i43.tinypic.com/orpg0m.jpg";

imgr[2] = "http://i43.tinypic.com/orpg0m.jpg";

imgr[3] = "http://i43.tinypic.com/orpg0m.jpg";

imgr[4] = "http://i43.tinypic.com/orpg0m.jpg";
showRandomImg = true;

boxwidth = 298;

cellspacing = 8;

borderColor = "#ffffff";

bgTD = "#000000";

thumbwidth = 40;

thumbheight = 40;

fntsize = 12;

acolor = "#666";

aBold = true;

icon = " ";

text = "comments";

showPostDate = false;

summaryPost = 40;

summaryFontsize = 10;

summaryColor = "#666";

icon2 = " ";

numposts = 5;

home_page = "http://smartbloggertemplate.blogspot.com/";

</script>

<script src="http://shibin.110mb.com/recent_posts_thumbnail.js" type="text/javascript"></script>

Explanation:


(Edit the values to fit your blog)

boxwidth - Width of the widget
cellspacing - Space between cells (default one is good)
borderColor - Border color (add the background color of your template to perfectly blend it in the template)
thumbwidth & thumbheight - Width and Height of the thumbnail (default are good)
fntsize - Font size of the title
acolor - Color of the title
aBold - you want bold titles? (true or false)
numposts - How many posts you want to show?
home_page : http://smartbloggertemplate.blogspot.com/ (change this to your blog url)

This script is currently hosted in my server ( http://shibin.110mb.com/recent_posts_thumbnail.js ).
But, it is STRONGLY Recommended to download the script and upload to your own hosting (google for free javascripts hosts) and replace that url with yours.

4. Last but not the least.. Save the Changes.

That's it guys!

Note : Make sure you selected YES in Settings » Site Feed » Full » Allow Blog Feeds
Continue Reading

Create zoom effect for images in blogspot

This is the demo, click on the image to see :

Click Image For Demo

1st , log in Blogger > Layout > Edit HTML then add this code below before
</head> tag:

<script src='http://shibin.110mb.com/FancyZoom.js' type='text/javascript'/>
<script src='http://shibin.110mb.com/FancyZoomHTML.js' type='text/javascript'/>


Ok now next step, you have to change the <body> by <body onload="setupZoom()"> instead

Save! You have already created zoom effect for images. However ,to zoom image you have from now , you don't have to use the tag <img src="Image link" /> to add image anymore , but you have to use this new form :

<a href="Image link"><img src="image link" width="300" border="0" height="200" />


Note:
Image link : support jpg, png, gif ...
Width : thumbnail width.
Height: thumbnail height.
Border: thumbnail border.


For example :
<a href="http://img193.imageshack.us/img193/6925/flowersandswirls.jpg"><img src="http://imgcash2.imageshack.us/img193/6925/flowersandswirls.th.jpg" width="300" height="200" border="0" /></a>
Continue Reading

Align Adsense Widget on Blogger

1. Go to Blogger Dashboard.

2. Go to Layouts and click on Edit Html subtab of Template tab.

3. Backup your template to PC.

4. Then put a check in Expand Widgets Template box at top of Edit Template text box and scroll down to or Ctrl+F <b:widget id='AdSense to this line :

Then add align='center'. Like this…

<b:widget id='AdSense1' locked='false' title='' type='AdSense'>
<b:includable id='main'>
<div class='widget-content'>
<data:adCode/>
</div>
</b:includable>
</b:widget>


Code AFTER changes:

<b:widget id='AdSense1' locked='false' title='' type='AdSense'>
<b:includable id='main'>
<div align='center' class='widget-content'>
<data:adCode/>
</div>
</b:includable>
</b:widget>

optional

align='center'

align='left'

align='right'
Continue Reading

Fixed Side Menu For Blogger

Fixed side menu for blogger blogspot or some says it as fixed slide in menu for blogger as was seen only in wordpress but now can be used in bloggers also.As you could see it in my blog i have side menu that moves together with you scroll movement up and down on my blog.I am sharing this with you because many of my readers were asking how to make it as they liked it much and wanted to add it to there blogs so if you liked side menu in my blog you can go further to install it in your blog too.




First Download these two files to your computer.
ssm.js
ssmItems.js

Now open the ssmItems.js file in notepad
After opening it in notepad you will see the codes like written below.


<!--

/*
Configure menu styles below
NOTE: To edit the link colors, go to the STYLE tags and edit the ssm2Items colors
*/
YOffset=150; // no quotes!!
XOffset=0;
staticYOffset=30; // no quotes!!
slideSpeed=20 // no quotes!!
waitTime=100; // no quotes!! this sets the time the menu stays out for after the mouse goes off it.
menuBGColor="black";
menuIsStatic="yes"; //this sets whether menu should stay static on the screen
menuWidth=150; // Must be a multiple of 10! no quotes!!
menuCols=2;
hdrFontFamily="verdana";
hdrFontSize="2";
hdrFontColor="white";
hdrBGColor="#170088";
hdrAlign="left";
hdrVAlign="center";
hdrHeight="15";
linkFontFamily="Verdana";
linkFontSize="2";
linkBGColor="white";
linkOverBGColor="#FFFF99";
linkTarget="_top";
linkAlign="Left";
barBGColor="#444444";
barFontFamily="Verdana";
barFontSize="2";
barFontColor="white";
barVAlign="center";
barWidth=20; // no quotes!!
barText="SIDE MENU"; // <IMG> tag supported. Put exact html for an image to show.

///////////////////////////

// ssmItems[...]=[name, link, target, colspan, endrow?] - leave 'link' and 'target' blank to make a header
ssmItems[0]=["MENU"] //create header
ssmItems[1]=["
Home", "http://smartbloggertemplate.blogspot.com", ""]
ssmItems[2]=["
Tips and Tricks", "http://smartbloggertemplate.blogspot.com/search/label/Tips%20and%20Tricks",""]
ssmItems[3]=["
Blogger Hacks", "http:///smartbloggertemplate.blogspot.com/search/label/Blogger%20Hack", ""]
ssmItems[4]=["
Blogger Tutorials", "http://smartbloggertemplate.blogspot.com/search/label/Blogger%20Tutorial", "_new"]
ssmItems[5]=["
Blogger Templates", "http://smartbloggertemplate.blogspot.com/search/label/Blogger%20Templates", ""]
ssmItems[6]=["
Contact", "http://smartbloggertemplate.blogspot.com/2008/11/contact-us.html", ""]

ssmItems[7]=["
FAQ", "#nogo", "", 1, "no"] //create two column row
ssmItems[8]=["
Email", "#nogo", "",1]

ssmItems[9]=["External Links", "", ""] //create header
ssmItems[10]=["
South Indian Models", "http://tollywoodceleb.blogspot.com", ""]
ssmItems[11]=["
Software Download", "http://downloadsofwarez.blogspot.com", ""]
ssmItems[12]=["
Free Softwares", "", ""]

buildMenu();

//-->



Now just edit the the links in red in codes to place your own link which you want to display and text in blue which you want to show up the title for that link.

After editing all these links just save the file.

Now upload both files ssm.js and ssmItems.js to your own server like on geocities or sigmirror dot com,don't use mine as will not work due to exceeded bandwidth.

Now GO To LAYOUT > EDIT HTML
and find the </head> tag and place the below codes before it.


<style type="text/css">
<!--
A.ssmItems:link {color:black;text-decoration:none;}
A.ssmItems:hover {color:black;text-decoration:none;}
A.ssmItems:active {color:black;text-decoration:none;}
A.ssmItems:visited {color:black;text-decoration:none;}
//-->
</style>


<SCRIPT SRC="
http://www.sigmirror.com/files/23824_orh0p/ssm.js" language="JavaScript1.2">
//Dynamic-FX slide in menu v6.5 (By maXimus, http://maximus.ravecore.com/)
//Updated July 8th, 03' for doctype bug
//For full source, and 100's more DHTML scripts, visit http://www.dynamicdrive.com
</SCRIPT>
<SCRIPT SRC="
http://www.sigmirror.com/files/23826_tfol5/ssmItems.js" language="JavaScript1.2"></SCRIPT>


And don't forget to change the links in red above with the links of yours where your ssm.js and ssmItems.js file are uploaded to your own server.

And now SAVE It.

Yup you have just Done now. View your blog. If you have any problem please write below in comments i will help you out.I think you will enjoy this widget for sure.
Continue Reading