Showing posts with label blogging tricks. Show all posts
Showing posts with label blogging tricks. Show all posts

Monday, 12 July 2010

Change color and size of default tag cloud in blogger

It is known that we can use a gadget option "Labels" to Blogger, to show our tags in a cloud . It so happens that yesterday I received two emails on the same subject: how to change the design of the cloud once added to the blog, so we'll see in this post how.
blogger tag cloud
Once you add a gadget in the sidebar, a tag cloud will have a default layout that fits, more or less to the rest of the sidebar.
To change the size, text color, separation, etc.we should add a few lines of CSS in the template, as always will before ]]></ b: skin>


.cloud-label-widget-content {
text-align:center;
font-weight: bold;
}
.cloud-label-widget-content span {
padding: 0 0 0 5px;
}
.label-size-1 a {color: #8b8989; font-size: 10px;}
.label-size-2 a {color: #000000; font-size: 12px;}
.label-size-3 a {color: #4682b4; font-size: 14px;}
.label-size-4 a {color: #dccdc; font-size: 15px;}
.label-size-5 a {color: #6495ed; font-size: 18px;}
Modifications :
.cloud-label-widget-content { 
Controls the design of the container of the cloud, the tags in my example would be centered and bold.

.cloud-label-widget-content span {
Controls the distance between the labels, in my example 5 pixels apart.

.label-size

Here we control the text color and size of each of the labels, according to the five options that the gadget provides.
In this case we do, is to include the CSS to add between <style type='text/css'> and </ style> and place it right after the label template <body>.

Friday, 4 June 2010

Use special symbols or characters on your blog-Unicode Symbols

When you use Blogger, we see that our staff has a first line that defines the character encoding on our site:
<? Xml version = "1.0" encoding = "UTF-8"?>
and also automatically adds this
http-equiv="content-type" <meta content="text/html;charset=utf-8" />
With this, we can use these special characters should be written as codes. Blogger uses the same for some of its elements, there ▼ ◄ see things like that are nothing to these codes.





















ÄÄÄöööÖÖÖ
äääüüüÜÜÜ
ßßߢ¢¢
£££¥¥¥¤¤¤



























"""&&&
<<<>>>«««
»»»©©©®®®
¿¿¿¡¡¡
@
@§§§÷÷÷
+
+-
-
±±±×××
¼¼¼½½½¾¾¾






%
%
¹¹¹
²²²³³³

Sunday, 23 May 2010

Use Google Font API for decorating your Post Title and sidebar title

Google announced their new Font API yesterday, including a font directory and preview tool to make open sourced fonts  available to everybody on the web.You can get more such blogger tricks directly to your mailbox os you can subscribe to my RSS feeds.
Some more Tutorials on This Blog-


Steps for Adding Google Font to change Blogger Post Title 
Step[1] Choose Your Font
Just go to the Google Font Directory and pick the desired font there are already prety nice font and will be expanded with the popularity and time.
Use preview tool to Test different Fonts with all available options.You can Capitalize,Lower Or upper your text.Use this preview tool to check how your text look with letter spacing,line spacing,and word spacing.And don't forget to check the shadow option.

Step[2] Get Code
Once you have selected Font from Google Font Directory click on Get Code .

just copy it and paste between your <head> and </head> tags. Like this:
 <head> 
<link href='http://fonts.googleapis.com/css?family=Cantarell' rel='stylesheet' type='text/css'> 
</head>    

Cantarell was selcted by me.

Note-This code will not be excepted by blogger and might give you an error to close the link tag, just add a little "/" in the end like this:
 <head> 
<link href='http://fonts.googleapis.com/css?family=Cantarell' rel='stylesheet' type='text/css'/
</head>  

Step[3] Decorate your Post Titles
From Your Dashboard. Go to Layout > Edit HTML And .
Use your Browser search to find .post h3 or .post h2 which ever present in your template.This post h3 or h2 defines your post Title properties.
Look for Font-family in your post h3 and add the font name you have selected from Google.

font-family: 'Cantarell',Tahoma,Verdana, Arial, Lucida Grande, sans-serif;

Click on Save Template

This Is It.

Do you like this tutorial? Do you like Google Font ? Use below comment form to send your suggestions or queries to me.

Friday, 21 May 2010

Create Instant Messaging Hyperlinks for your Website, Blog or Forum Signature

An instant messaging hyperlink is a link that a person can click on that will instantly open the correct chat window with the person’s chat ID already in place.

Here are the chat hyperlinks for some populer instant messaging networks. Just enter your username where it says USERNAME and then copy and paste the whole bold line into your website / forum / chat signature, whatever.

Windows Live Messenger :

(the username in this case being the Hotmail address)

Yahoo Messenger :



AIM :



Google Talk :

(the username in this case being the Gmail address)

Skype :


via makeuseof

Thursday, 20 May 2010

Show twitter trackbacks on your blogger blog

What about displaying all twitter ReTweets on your blogger blog along with the comments like you see in most of the wordpress blogs.If you like this idea follow the tutorial below....

Thanks to Mike More who developed this plugin in javascript based on APIs plugin for Wordpress Topsy , which runs on PHP.

There are several ways to configure this plugin , experienced user can explore all options by going on the project page .Here i will show you nice and easy way to implement this on your blog.

Before continuing make sure you backup your template.

How to show Twitter trackbacks in blogger comments.

To add this to your blogger ,you need to add three elements of code to your template : Javascript ,CSS ,small HTML where you want the w idget to display.

CSS 
To include CSS definitions, find the code of your template line ]]></ b: skin> and immediately before it, paste the following code:

ul.ttw-inner (border: 1px solid silver; height: 48px; overflow: hidden; margin: 0; padding: 4px;)
ul.ttw-inner li{float:left;list-style-type:none;position:relative;margin:0;} ul.ttw inner-li (float: left; list-style-type: none; position: relative; margin: 0;)
ul.ttw-inner span.ttw-author-img{display:block;width:48px;height:48px;overflow:hidden;left:0;position:absolute;margin:0 5px 0 0;} ul.ttw span.ttw-inner-author-img (display: block; width: 48px; height: 48px; overflow: hidden; left: 0; position: absolute; margin: 0 5px 0 0;)
ul.ttw-inner strong a{margin-right:5px;} ul.ttw the strong-inner (margin-right: 5px;)
ul.ttw-inner span.ttw-body{display:block;margin-left:55px;} ul.ttw span.ttw-inner-body (display: block; margin-left: 55px;)
ul.ttw-inner span.ttw-meta{color:#999;display:block;font-size:0.764em;margin:3px 0 0;} ul.ttw span.ttw-meta-inner (color: # 999; display: block; font-size: 0.764em; margin: 3px 0 0;)
ul.ttw-inner span.ttw-meta a{color:#999;text-decoration:none;} ul.ttw span.ttw-inner-meta a (color: # 999; text-decoration: none;)
ul.ttw-inner span.ttw-meta a:hover{text-decoration:underline;} ul.ttw span.ttw-inner-meta a: hover (text-decoration: underline;)

Javascript
Now look for the line </heads> and add before it the following code snippet


<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js' type='text/javascript'/><script type='text/javascript'> <script type='text/javascript'>//<![CDATA[ //<![ CDATA [/* Twitter Trackbacks Widget v1.0 / * Twitter Trackbacks Widget v1.0Blog : http://www.moretechtips.net Blog: http://www.moretechtips.netProject: http://code.google.com/p/twitter-trackbacks-widget/ Project: http://code.google.com/p/twitter-trackbacks-widget/Copyright 2009 [Mike @ moretechtips.net] Copyright 2009 [Mike@moretechtips.net]Licensed under the Apache License, Version 2.0 Licensed under the Apache License, Version 2.0 (The "License"); You May Not except use this file in compliance with the License.*/ You May Obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 * /(function($){$.fn.twitterTrackbacks=function(allOptions){var defaults= {debug:0,url:"",url_querystring:0,n:10,show_n:1,inf_only:0,inf_tip:0,stay_time:5000,enter_time:200,exit_time:200,animate:"opacity",show_avatar:1,show_author:1,show_date:1,image_width:48,reply:"reply",retweet:"retweet",topsy_author_url:0,header:"",info:'<a class="ttw-info" title="get Twitter Trackbacks Widget!" target="_blank" href="http://www.moretechtips.net/">.i</a>'}; allOptions=$.extend({},defaults,allOptions);return this.each(function(){var div=$(this);var count=0,ul=null,vp=-1,startI=-1,endI=-1;var op=allOptions;var effectParams=new Object;var topsyURL="";var requested=function(json){if(!json.response.list){if(op.debug){div.html('<b style="color:red">Error: ' (json.response.errors?json.response.errors.join(","):"unkown") "</b>")}return}var rs=json.response.list;count=rs.length;if(count==0){return}topsyURL=json.response.topsy_trackback_url;ul=$('<ul class="ttw-inner"></ul>').appendTo(div.html(op.header));for(var i=0;i<count;i ){addLI(rs[i])}if(op.show_n>0){fadeIn()}};var addLI=function(x){var uname=x.author.url.replace("http://twitter.com/","");var id="";if(x.permalink_url){id=x.permalink_url.replace("http://twitter.com/" uname "/status/","")}else{x.author.photo_url="http://cdn2.topsy.com/asset/master.16412.82c193e596/img/twitter_user.png"}if(!x.author.influence_level){x.author.influence_level=0}var li=$("<li" (op.show_n>0?' style="display:none"':"") ' class="ttw-inf-' x.author.influence_level '">' (op.show_avatar?'<span class="ttw-author-img"><a href="' (op.topsy_author_url?x.author.topsy_author_url:x.author.url) '" title="' x.author.name (op.inf_tip?" [influence level: " x.author.influence_level "/10]":"") '"><img src="' x.author.photo_url '" height="' op.image_width '" width="' op.image_width '" border="0"/></a></span>':"") '<span class="ttw-body">' (op.show_author?'<strong><a href="' (op.topsy_author_url?x.author.topsy_author_url:x.author.url) '">' x.author.name "</a></strong>":"") '<span class="ttw-content">' x.content '</span><span class="ttw-meta">' (op.show_date?'<a class="ttw-date" href="' (x.permalink_url?x.permalink_url:topsyURL) '">' x.date_alpha "</a>":"") (op.reply&&id?' - <a class="ttw-reply" href="http://twitter.com/home?status=@' uname "%20&in_reply_to_status_id=" id "&in_reply_to=" uname '">' op.reply "</a>":"") (op.retweet?' - <a class="ttw-retweet" href="http://twitter.com/home?status=' encodeURIComponent("RT @" uname " " x.content) '">' op.retweet "</a>":"") (op.info?" - " op.info:"") "</span></span></li>").appendTo(ul);var cont=$("span.ttw-content",li);cont.html(linkify(cont.html()))};var fadeOut=function(){$("li",ul).eq(startI).fadeOut(op.exit_time,fadeIn);if(op.show_n>1){$("li",ul).slice(startI 1,endI).fadeOut(op.exit_time)}};var fadeIn=function(){vp ;if(vp*op.show_n>=count){vp=0}startI=vp*op.show_n;endI=(vp 1)*op.show_n;$("li",ul).eq(startI).animate(effectParams,op.enter_time,"linear",fadeStill);if(op.show_n>1){$("li",ul).slice(startI 1,endI).animate(effectParams,op.enter_time,"linear")}};var fadeStill=function(){ul.animate({opacity:1},op.stay_time,"linear",fadeOut)};var linkify=function(d){return d.replace(/bhttps?://S /gi,function(b){var c="";b=b.replace(/(.*|?*|!*)$/,function(m,a){c=a;return""});return'<a class="ttw-link" href="' b '">' ((b.length>25)?b.substr(0,24) "...":b) "</a>" c}).replace(/B@([A-Z0-9_]{1,15})/gi,'@<a class="ttw-at" href="http://twitter.com/$1">$1</a>').replace(/B#([A-Z0-9_] )/gi,'<a class="ttw-hashtag" href="http://search.twitter.com/search?q=%23$1">#$1</a>')};var request=function(){var data={url:op.url,infonly:op.inf_only,perpage:op.n};$.ajax({url:"http://otter.topsy.com/trackbacks.js",data:data,success:requested,dataType:"jsonp"})};var init=function(){if(div.attr("options")){try{op=eval("(" div.attr("options") ")")}catch(e){div.html('<b style="color:red">' e "</b>");return}op=$.extend({},defaults,op)}effectParams[op.animate]="show";if(!op.url){op.url=location.protocol "//" location.host location.pathname (op.url_querystring?location.search:"")}request()};init()})}})(jQuery);jQuery(document).ready(function(){jQuery("div.twitter-trackbacks").twitterTrackbacks()}); (Function ($){$. fn.twitterTrackbacks = function (allOptions) (var defaults <b>= (debug: 0, url: "", url_querystring: 0, n: 10, show_n: 1, inf_only: 0, inf_tip: 0, stay_time: 5000, enter_time: 200, exit_time: 200, animate: "opacity", show_avatar: 1, show_author: 1, show_date: 1, image_width: 48, reply: "reply" retweet "retweet" topsy_author_url: 0, header: "", info: '<a class="ttw-info" title="get Twitter Trackbacks Widget!" target="_blank" href="http://www.moretechtips.net/">. i </ a> '); </b>allOptions = $. extend ((), defaults, allOptions); this.each return (function () (var div = $ (this); var count = 0, ul = null, vp =- 1, start =- 1, endi =- 1; var op = allOptions; effectParams var = new Object; topsyURL var = "" var Requested = function (json) (if (! json.response.list) (if (op.debug ) (div.html ('<b style="color:red"> Error:' (json.response.errors? json.response.errors.join (","):" unkown ") "</ b > ")) return) var rs = json.response.list; rs.length count = if (count == 0) (return) = topsyURL json.response.topsy_trackback_url; ul =$('< ul class =" TTW -inner "> </ ul> '). appendTo (div.html (op.header)) for (var = i 0, i <count; i ) (addLI (rs [i])) if (op.show_n > 0) (var FadeIn ()}}; addLI = function (x) (var uname = x.author.url.replace (http://twitter.com/ ",""); var id = ""; if (x.permalink_url) (id = x.permalink_url.replace (http://twitter.com/ " uname " / status /","")} else (x.author.photo_url = "http:// cdn2.topsy.com/asset/master.16412.82c193e596/img/twitter_user.png ") if (! x.author.influence_level) x.author.influence_level = 0) (var li li =$("<" (op . show_n> 0? "style =" display: none "':"") ' class = "TTW-inf-' x.author.influence_level '">' ( op.show_avatar?' <span class =" TTW-author-img "> <a href ="' ( op.topsy_author_url? x.author.topsy_author_url: x.author.url) '" title = "' x.author.name (op.inf_tip?" [Influence level: " x.author.influence_level" / 10 ]":"") '">< img src = "' x.author.photo_url '" height = "' op.image_width '" width = "'op.image_width '" border = "0 "/></ a> </ span >':"") '< span class =" TTW-body ">' ( op.show_author? '<strong > <a href="' (op.topsy_author_url?x.author.topsy_author_url:x.author.url) '"> 'x.author.name "</ a> </ strong >":"") '<span class="ttw-content">' x.content '</ span> <span class="ttw-meta">' (op.show_date? "<a class =" TTW-date "href ="' ( x.permalink_url? x.permalink_url: topsyURL ) '">' x.date_alpha "</ a >":"") ( op.reply & & id? '- <a class =" TTW-reply "href =" http://twitter.com/home?status = @ ' uname "% 20 & in_reply_to_status_id =" id "& in_reply_to =" uname '">' op.reply "</ a >":"" ) (op.retweet? '- <a class = "TTW-retweet" href = "http://twitter.com/home?status =' encodeURIComponent (" RT @ " uname " " x.content) '">' op.retweet "</ a >":"") ( op.info?" - " op.info :"") "</ span> </ span> </ li> "). appendTo (ul); var cont = $ (" span.ttw-content ", li); cont.html (linkify (cont.html ()))}; var fadeout = function (){$(" li , ul). eq (start). fadeout (op.exit_time, FadeIn) if (op.show_n> 1 ){$(" li ", ul.) slice (start 1, endi). fadeout (op. exit_time))); FadeIn var = function () (vp if (* vp op.show_n> = count) (vp = 0) start = vp * op.show_n; endi = (vp 1) * op.show_n; $ ("li", ul). eq (start). animate (effectParams, op.enter_time, "linear" fadeStill) if (op.show_n> 1 ){$(" li ", ul.) slice (start 1, endi). animate (effectParams, op.enter_time, "linear ")}}; fadeStill var = function () (ul.animate ((opacity: 1), op.stay_time," linear "fadeout)); var linkify = function (d) (return d.replace (/ bhttps?: / / S / gi, function (b) (var c = "b = b.replace (/(.*|?*|!* ) $ /, function (m, a) (c = a; return ""}); return '<a class="ttw-link" href="' b '">' ((b.length> 25 )? b.substr (0.24 ) "...": b ) "</ a> " c).) replace (/ B @ ([A-Z0-9_] (1.15)) / gi, '@ <a class="ttw-at" href="http://twitter.com/$1"> $ 1 </ a>'). replace (/ B # ([A-Z0-9_] ) / gi, '<a class="ttw-hashtag" href="http://search.twitter.com/search?q=%23$1"> # $ 1 </ a >')}; var request = function ( ) (var date = (url: op.url, infonly: op.inf_only, PerPage: op.n); $. ajax ((url: "http://otter.topsy.com/trackbacks.js, date: date, success: Requested, dataType: "jsonp "})}; var init = function () (if (div.attr (" options ")) (try (eval ("(" div.attr op = (" options ") ")")} catch (e) (div.html ('<b style="color:red">' e "</ b>");) op = $ return. extend ((), defaults, op)) effectParams [op.animate] = "show" if (! op.url) = (op.url location.protocol "//" location.host location.pathname (op.url_querystring? location. :"")} search request ()); init ()})}})( jQuery) jQuery (document). ready (function () (jQuery ('trackbacks-div.twitter). twitterTrackbacks ())) ;//]]> //]]></script> </ Script> 

In the codehighlighted in bold are the configuration options of the plugin, you can change according to the instructions on the developer page

HTML
For the RTs of Twitter are displayed just below the comments from readers, look for the line <p class='comment-footer'&gt; and soon after it includes a new line, as indicated below:

<p class='comment-footer'>
<div class='twitter-trackbacks'/>
Soon after setting up the plugin trackbacks twitter must already appear clearly only in posts where they exist, including the old ones.Credits :

Thursday, 13 May 2010

Adding animated GIFs to blogger


One of the main annoying limitations of blogger is that it does not allow to post animated gifs to the post.The good news is that the Picasa Web Albums , Google service where you stored the images posted on Blogger supports animated images in GIF format.

The problem is that the HTML image, generated automatically by default post editor of Blogger, displays a thumbnail and not the original file hosted on Picasa.Because of that the animation does not work.

This problem can be solved by editing the HTML manually by Replacing the URL of the image displayed in the post with the URL of the link created automatically by Blogger.

In the example below are highlighted respectively: The URL of the original image (green) and the URL of the thumbnail generated by the Blogger post editor (in red):

<div class="separator" style="clear: both; text-align: center;">
<a href=" http://3.bp.blogspot.com/_mUT2piLt5H0/S8XXw_5DCdI/AAAAAAAANZU/ugV2mhfq2QU/s1600/YouTubeLoad.gif " imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="258" src=" http://3.bp.blogspot.com/_mUT2piLt5H0/S8XXw_5DCdI/AAAAAAAANZU/ugV2mhfq2QU/s320/YouTubeLoad.gif " width="320" /></a></div>

 Just replace the address highlighted in red with the address highlighted in green and the animated image will appear on your blog.

<div class="separator" style="clear: both; text-align: center;">
<a href=" http://3.bp.blogspot.com/_mUT2piLt5H0/S8XXw_5DCdI/AAAAAAAANZU/ugV2mhfq2QU/s1600/YouTubeLoad.gif " imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="258" src=" http://3.bp.blogspot.com/_mUT2piLt5H0/S8XXw_5DCdI/AAAAAAAANZU/ugV2mhfq2QU/s1600/YouTubeLoad.gif " width="320" /></a></div>

Now this code(with both green url ) will difinately work.
I have been working hard to write the best posts on my blog but some how i am not getting necessary comments. Pls do comment to uplift boost me up.

Monday, 9 November 2009

Creating snow efect To blogger..!!

This effect is the continuation of my work to give all the season effect to the blogger.My previous one being spring effect to blogger and falling heart effect to blogger I will surely recommend you see these posts so that you may know what we are doing.
To make your  work easier you can directly add it to your blogger gadget by simply using the button below.








1. Click to open Blogger in a new window, and follow the steps below in that window. Please login if necessary.

2.Try Copy and pasting way.
Copy the below code and add it to your Html/javascript gadget and place the gadget at the bottom.




See A image Based Tutorial




see

Saturday, 31 October 2009

How to Add Flash Files to your blogger

Adding flash to blogger or adding .swf files to blogger.
Flash files having .swf extensions can be added to blog posts,if you have got the embed code for the same..The best example is the youtube embed code!!IF u want to add flash to the blogger tile.In that case you will have to edit your template and add the flash embed code there..

See a sample of what can be done below, doesn't this look cool!
Read on to see how it's all done.




Now see What i have doen Above.
In my one of the previous articles i showed you how to add music files to blogger.
Adding flash is somewhat similar to it.
The code i have used for above flash file is:

<object width="100" height="100">
<param name="movie" value="cooldots.swf">
<embed src=" http://h1.ripway.com/funwithblog/cooldots.swf" width="100" height="100">
</embed>
</object>

Another example:



Code For above swf is :
<embed height="101" pluginspage=" http://www.macromedia.com/go/getflashplayer" src="http://www.amarasoftware.com/valentines-animations.swf" type="application/x-shockwave-flash" width="400"></embed>

You can use Any of the above code directly to your own blogger
just replace
http://h1.ripway.com/funwithblog/cooldots.swf or http://www.amarasoftware.com/valentines-animations.swf
with your own flash file url.
Change height and width according to your own

Now,the only question left is where to upload.
i think the best option is google sites or you can upload to any free webhosting like i used ripway

Monday, 12 October 2009

Changing Templates without Loosing Widgets[Blogger]


Like one day,you are surfing Internet And found a good template design for your blogger and decided to change your template.When you change your Template Blogger said that all the Widget along with their data will be lost when changing to a third-party template.
Could you afford to lose that???...

I thing is you One-by-one backup your widget,and then again restore it.Belive me it would be a task to do.

OR you can backup your CSS widget code and apply it at once.
Steps:
1.Login to your Dashboard then,Layout-> Edit HTML then click on Expand Widget Template check box..

2. search for.<b:widget  In the template code and and copy all widget code...
Ex.

<div id='sidebar-wrapper'>
<b:section class='sidebar' id='sidebar' preferred='yes'>
<b:widget id='HTML1' locked='false' title='Search this Blog' 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>

<b:include name='quickedit'/>
</b:includable>
</b:widget>
<b:widget id='LinkList1' locked='false' title='Recent Posts' type='LinkList'>
<b:includable id='main'>

<b:if cond='data:title'><h2><data:title/></h2></b:if>
<div class='widget-content'>
<ul>
...

Do it as many times as needed to copy all the widgets. Paste them one after to other in Notepad
No need to copy these:
  • <b:widget id='Header1' locked='true' title='For Testing Purpose (Header)' type='Header'>
  • <b:widget id='Blog1' locked='true' title='Blog Posts' type='Blog'>
3. Now copy the new template code by opening the XML file in another Notepad. Paste it in Blogger deleting the old template code.
4.Find the following line in the newly pasted template code:
...
<div id='sidebar-wrapper'>
<b:section class='sidebar' id='sidebar' preferred='yes'>

Sunday, 11 October 2009

Rotating Header Image[Images changes randomly with each refresh]

Rotating image Header for blogger?

IF you are here finding this question then this might be helpful.
We have a simple enough JavaScript that randomly calls for a new Header banner or Blog background image whenever the Blog is refreshed. This is useful if you have several background pictures which are suitable for your Blog and you want to showcase all of them.
I have used this effect to some extent on this blog.



Demo :Refresh The page(F5) and see a different image on my header.

 Mine CSS code before applying this hack-

body {
    background:#fff url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixscDDtVmsL0N9-jT-ytQMpbpgeTLUUdXr8cx48PgirPqr8hhu6HG8hdk9ZEypK_xDnG-5Z3RfuW-aJACnoqGF46s4QJWo4TtuBzulBJSy0UM-Fd48WLumfQR4BEmUIKSVPu55TR0218Nl/s1600/backgroundbody.png) no-repeat top center;
    color: #4c4b4c;
    font-size: 12px;
    font-family:Arial, Sans-Serif,tahoma, Verdana;
    text-align: left;
    margin: 0 auto 0;
    padding-right: 5px;
}

Basically this script works by overwriting the 'background' definition at the <body> part of the template.

I wrote the following right after the <body> tag:

<script type='text/javascript'>

var banner= new Array()


banner[0]="http://4.bp.blogspot.com/_nqp-0VCwy0c/S9Qhc0IKY0I/AAAAAAAABE0/GTaOyK6gUWc/s1600/finalbg1-11.png"
banner[1]="http://4.bp.blogspot.com/_nqp-0VCwy0c/S9QhghJ3LPI/AAAAAAAABE8/FgvGA7yWXWk/s1600/finalbgtemplate.png"
banner[2]="http://3.bp.blogspot.com/_nqp-0VCwy0c/S9Qhpu1ua9I/AAAAAAAABFE/GB2akCKMHnI/s1600/finalbg1blogidol.png"
banner[3]="http://3.bp.blogspot.com/_nqp-0VCwy0c/S9QwYrzmyCI/AAAAAAAABFM/nrA_RQHzL7A/s1600/finalbgsocial.pngg"
banner[4]="http://3.bp.blogspot.com/_nqp-0VCwy0c/S9QwtPpELfI/AAAAAAAABFU/FVcNvSp-2ek/s1600/finalbg1post.png"
banner[5]="http://1.bp.blogspot.com/_nqp-0VCwy0c/S9QyG-8rn-I/AAAAAAAABFs/88F5R93jZgg/s1600/finalbg1seo.png"
banner[6]="http://1.bp.blogspot.com/_nqp-0VCwy0c/S9QxG0VHGzI/AAAAAAAABFk/3RrrKhHKf9g/s1600/finalbg1help.png"

var random=Math.round(6*Math.random());

document.write("<style>");
document.write("body {");
document.write(&#39; background:url("&#39;   banner[random]   &#39;") no-repeat TOP;&#39;);
document.write(" }");
document.write("</style>");

</script>

What we are doing is actually we are overwriting CSS for my body with this javascript.

Final Note : In my template my body covers  the header image which will not be the case in most of the template.SO you might have to replace .body with #header or #header-inner


Try this trick and tell me if it works for you...!!

Add music to your blogspot Blog

Depending on the subject matter of your blog, having music played in the background may either enhance the pleasure of reading or annoy your visitor.
This simple TUT will help you to embed any audio file to your blog.

Now,you would have to decide how you want the music to be played.
This can be doen in two ways:
1.IF u want that a user click on text link and then the music is played then use this :

<a href="URL of music file">Click to hear music file</a>
Remember to enter the URL of music file into the above code
 
2.Music with a console
A music player console with controls of the volume, on and off buttons, would give your visitors a choice on how he wants the music played.
Use This code:

<embed autostart="false" height="40" loop="true" playcount="2" src="URL of music file" width="300"/></embed>


It will look like this:

HINTS:
  • Insert your URL of music file into the code.

  • The width  and The height would depend on your preference and space constraints.

  • The autostart attribute has two options. If you choose "true", the music will automatically play when your page is loaded .The better option is to state it as "false". If the visitor wishes to hear the music, he can click the play button to start the music.

  • The loop attribute indicates whether the music should stop once that particular tune ends
If the attribute is "false", the music ends after it is played once. If it is "true", the music will automatically loop and continue playing until the visitor clicks the stop button or leaves your site

  • You can specify the number of times the music is to be played. In the above example, where playcount="2",

Have any Thought want to give any suggestion???!!!Just reply back

Saturday, 10 October 2009

Changing the background image of your blogger

Customizing Blogger templates according to your wish is the first thing that Any blogger wants when he first gets his free  template.but playing with the css/html coded Xml templates is not a licking job.
What better than that if u could change the background image of your blogger.
Just follow the below steps wisely and u can taste the delicious lollypop.[:P]

Step:1Backup your template by  clicking Download Full Template
Step:2 Tick on Expand Widget Template.
Step:3 Search For Something Like this in the beginning of the template coding(this is mine template example)

body {
margin : 0;
font : 13px tahoma, arial, helvetica, sans-serif;
background : transparent url(http://i38.tinypic.com/2q07m2e.jpg) repeat scroll 0 0;
}
With emphasis on body tag
.
Step:4 Replace http://i38.tinypic.com/2q07m2e.jpg with Your Image.
It might be possible that your template doesn't have a background image and u want to add on.
just paste this between body closing and ending tags { and }

background : transparent url(http://i38.tinypic.com/2q07m2e.jpg) repeat scroll 0 0;

Replace http://i38.tinypic.com/2q07m2e.jpg with Your Image url.

Step:5 Click Save Template.

And Your are done!!click view blog to preview your blog.


You can subscribe to My Posts.
Comment Below if u need any help!!

Wednesday, 7 October 2009

How To Embed a PHP File into Blogger


All u have to do is use the below given code.In the post Area.

<object width="400" height="300" type="text/html" data="URL.php"></object>
Note:replace URL.php with your php url.
U can also edit width and height according to your will.

Add jQuery Social Bookmarks icons after every posts[cool one]

Step 1:login to your Dashboad.click Layout then edit HTML and tick Expand Widget.
Before starting you nay like to see (DEMO),scrool till end to see effect.
Step2:Press cntrl+F Search for ]]></b:skin>
Step 3.Copy the below code and paste it just before(above) ]]></b:skin>

/* SocialBookmark
*/

#sharebox{
height:48px;
width:400px;
margin:0;
padding:5px 0;
}

ul.sharebox { margin:0px; padding:0px; list-style:none; position:relative; display:block;}
ul.sharebox li { float:left; margin:0 0 0 0px; padding:0px; position:absolute;}
ul.sharebox li a { margin:0 0 0 -24px; display:block;}
ul.sharebox li a:hover { margin:0 0 0 -8px; }
ul.sharebox li img { border:none;}
Step 4:press cntrl+F and search </head>
Step 5:paste the below code just before(above) </head>
<script src=' http://myfundoo.fileave.com/jquery.min.js' type='text/javascript'/>

<script type='text/javascript'>
(function($){
$.fn.sharebox = function(){
var element = this;

$(element).find(&quot;li&quot;).each(function(i){
$(this).css(&quot;z-index&quot;, 10- i);
if (i&gt;0)
$(this).css(&quot;left&quot;, i * 24   100);
});

}
})(jQuery);
</script>
<script type='text/javascript'>
$(document).ready(function(){
$(&quot;#sharebox&quot;).sharebox();
});
</script>
Step6:Again press cntrl+F and serach for <p><data:post.body/></p> or <data:post.body/> and  paste the following code just after(below) it.

<li><a expr:href='&quot; http://digg.com/submit?url=&quot;   data:post.url   &quot;&amp;title=&quot;   data:post.title' target='_blank'><img alt='Sumbit to Digg' src='http://lh5.ggpht.com/_dfnTVAxeWMI/Smktud4qk8I/AAAAAAAABmk/z5vZVjTmD7k/s800/digg_48.png'/></a></li>

<li><a expr:href='&quot; http://www.stumbleupon.com/submit?url=&quot;   data:post.url   &quot;&amp;title=&quot;   data:post.title' target='_blank'><img alt='Sumbit to StumbleUpon' src='http://lh5.ggpht.com/_dfnTVAxeWMI/SmkuLCBTubI/AAAAAAAABm4/KwVHDJnT-EQ/s800/sumbleupon_48.png'/></a></li>

<li><a expr:href='&quot;http://del.icio.us/post?url=&quot;   data:post.url   &quot;&amp;title=&quot;   data:post.title' target='_blank'><img alt='Sumbit to Delicious' src='http://lh6.ggpht.com/_dfnTVAxeWMI/SmktubnHpoI/AAAAAAAABmg/b31Po_kEbnc/s800/delicious_48.png'/></a></li>

<li><a expr:href='&quot; http://technorati.com/faves?add=&quot;   data:post.url   &quot;&amp;title=&quot;   data:post.title' target='_blank'><img alt='Sumbit to Technorati' src='http://lh5.ggpht.com/_dfnTVAxeWMI/SmkuK1y0_cI/AAAAAAAABm0/C8EExNM-xjE/s800/technorati_48.png'/></a></li>

<li><a expr:href='&quot; http://www.reddit.com/submit?url=&quot;   data:post.url   &quot;&amp;title=&quot;   data:post.title' target='_blank'><img alt='Sumbit to Reddit' src='http://lh3.ggpht.com/_dfnTVAxeWMI/Smkturrni-I/AAAAAAAABmw/AbGticB0wAs/s800/reddit_48.png'/></a></li>

</ul>
 Step7:Click save template and it will look like this.




If u like my post ,subscribe to     
  MY  feeds  and recieve              
latest update directly in mailbox.





Subscribe to Comments
Subscribe to Posts

Rainbow Links script[make your all links Go Dynamic]

Author of the script : TAKANASHI Mizuki



Description: This script works on external javascript and make your all links go dynamic by creating a rainbow effect to your all links.

 For demo You can see All links on my blog.
step1:Download this Rar file(from here)
step2:IT contains a javascript file.upload it to free file hosting server.I prefer FileAve.
step3:Add the below code to the <HEAD> section of your Xml.

<script src=" http://myfundoo.fileave.com/rainbow.rar ">
</script>
step4:Replace http://myfundoo.fileave.com/rainbow.rar with your own cide
click save template and see your  blog glowing.

How to make your all links changes [ Mouseover Link Effects]

Adding hovering effect to all links on your blog.
What is hovering effect?
For a newbie point of view,changing the characteristics of Link when a mouse moves over  link.
Search google for more.

All u have to do is play with below code.
<style>
a:hover{color:blue; font-weight:bold;  font-style:italic; text-decoration:underline; text-transform:uppercase; font-size:14; background-color:yellow; }
</style>



Play how??

Change attributes according to your need.
Above image is the hovering  of my blog.
color:blue - change color to any.use html colour codes to select best colour for your blog.
 font-weight:bold -add this if u want the link to get bold on hovering else remove it.
  font-style:italic; -same with italics(remove the entire codefont-style:italic;)
text-decoration:underline; -make your link go underline
text-transform:uppercase; -add this if u want your link to convert to uppercase.
font-size:14;-change the font of the color.
background-color:yellow;-change the background color of your link.


Note:remove the entire statement including semicolon(color:blue;) if u dont want any characteristics.

I know it may be difficult for some user to edit.Try and Try if u still have any problem drop your comments here.or contact me personally


If u like my post ,subscribe to our feeds  and recieve latest update directly in mailbox.



Subscribe to Comments
Subscribe to Posts