50$ AdWords Coupon Giveaway

This is the first Giveaway being organized by StylifyYourBlog.com. To keep it related to the field of Blogging and not go over the top and give some fancy schmancy thing ,we would be giving 1 lucky winner - 50$ Adwords Coupon so that they can easily advertise their Websites on wide array of websites which use Google AdSense.

To be entered to win, be a follower via Google Friend Connect (just below this!) and leave a comment below with a suggestion for improving this Blog. (Be sure to leave your Twitter name or your email address so I can contact you if you win! You must do this first entry in order to win!)

For extra entries, you can: (Leave a separate comment for each entry!)

- Follow Stylify Your Blog via Twitter

- "Like"  Stylify Your Blog on Facebook

-Follow SYB via Email (and don't forget to Confirm it):

-Add SYB to Your Circles 

- Tweet about the giveaway 

That's up to six different chances to win! Be sure to leave a separate comment for each and check back at the end of the month to see if you won! Good luck!

This giveaway is open to anyone, anywhere in the world. As long as you can use it, you can win it!

How will the Winner be decided:
Using the Following Randomizer App

Make your Blogger Blog Responsive

Responsive Web Design has now become the integral part of the web. With the oncoming of the media queries in CSS3 ,it has become even more easier to implement it into your Blog. In a nutshell Responsive web design makes sure that irrespective of your readers Screen Size, they are able to see your blog with no (Horizontal Scroll-bar)problems. Even then very few Blogger template use it, rest still prefer using the fixed CSS (i.e. explicitly defining widths ).

This can be implemented in Blogger by simply adding a @media tag in the CSS section (b:skin) of your Blog. Media tag works by using a condition ,which defines where the enclosed CSS will apply. Here is a general Syntax of @media tag:

@media (min-width:200px){

What this does is that it check for all the screen width, and for all those that are atleast 200px & above , it sets the background to Blue. Here you replace min-width with many more type of conditions like height,device-width,etc .For a complete list Check out the Officail W3C page.

Now we will be discussing how you can integrate this awesome thing into your own blog. We will be mainly be focusing on the Horizontal Scrollbar ,making sure that it doesn't appear for all the readers of your Blog. Here are some codes that are supposed to work on every blog, To add them go to

For Old Interface, Go to Design > Template Designer > Advanced > CSS
For New Interface, Go to Templates > Customise > Advanced > CSS

.sidebar .widget{width:215px;}
.content-outer, .content-fauxcolumn-outer, .region-inner{min-width:1020px;max-width:1020px;_width:1020px;}}

@media (max-width:1050px){
body{min-width:880px !important;}
.content-outer, .content-fauxcolumn-outer, .region-inner{min-width:840px !important;max-width:880px !important;_width:880px !important;}

Here width would be according to your choices. What max-width does is that it applies the CSS to all screen sizes till that value .In normal cases, both the above widths should be less than the total width of blog. For example if you have chosen the width of your blog as 1200px, then make max-widths as 1000px and 800px.

The line 5 & 9 reduces the size of the main Content regions (i.e. is the Post + Sidebar). Sometime the sidebar might be wide and you would also have to reduce its size as done in line 4.

I have integrated this into Stylify Your Blog, check out the screenshots below

The possibilities with this are near endless. Do try playing with this and share your experience.

Dynamic Views type Comment Style

Dynamic Views are one the latest and greatest offering from the people at Blogger. I really liked its Comment style , the one-click and display and hide feature. After doing a bit of research I was able to implement it in normal/default Blogger templates.

Comment style

See Demo

To implement this in your Blogger Blog:

1. Go to Blogger Dashboard.

2. For New Interface ,go to Templates > Edit HTML
For Old Interface ,go to Design > Edit HTML

3. Now tick the Expand Widget Preview option & search for the term </head> tag and insert the following code Before it:

<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js' type='text/javascript'/>
<script type='text/javascript'>
$(document).ready(function() {
// hides the comments elements as soon as the DOM is ready
$(&#39;#comments,.avatar-stock img&#39;).hide();

// view the comments on clicking the noted link
$(&#39;.readCom&#39;).click(function() {

if ( $(&#39;#comments&#39;).is(&#39;:hidden&#39;) )
return false;


and now search for the term class='comments' and insert the following code before/above it.

<span class='readCom'><a href='#'><data:post.numComments/> Comments</a></span>

Note: Exclude the 1st line if you already have jQuery present in your template.

What this does: It Inserts a link which displays the number of comments just after the end of the post which can be clicked to display and hide comments similar to the Dynamic Views templates. When the page loads the Comment section is hidden (See Line 5).

This will hide the whole comment section, If you only want to hide the comments and not the comment Box (where you enter the comments ) then replace #comments with #comments-block in the above code.

One thing ,to implement this you will have to have comments embedded under posts, change the settings at Settings > Comments > Comment Form Placement.

Thanks to BloggerMint's Experimental templates for inspiring me

Hosting your JS files on Google Code

Google Codee ImageGoogle Code is one of those services from Google whose list of benefits is near endless. Its a service which provides free hosting of your Project files including JavaScript files with Unlimited Bandwidth. Even though it is possible to include JavaScript Files into Blogger itself (See how) but sometimes while editing ,due to Blogger's habit to Escape Code automatically it can become a bit frustrating.

Lets Get Started:

1. Go to code.google.com/hosting/ and click on create a new project.

2. Now fill the Details as per your needs, and make sure you set the Version control system as Subversion & the Source code license as Mozilla Public License 1.1 (select something else as per requirement, but this is suited for general use)

3. After creating the project you will be redirected to the Home Screen of your Project which is explained in more detail in the Image below

The rest of the menu items will be needed if you will be hosting a project ,which would require descriptions (Wiki), problem reporting (Issue),etc

4. Now go to Source > Browse > svn > trunk > Create or Upload file.

5. Now you either upload or create a js file you want to be hosted ,with brief description of what its about and Then Click the Commit button

6. After doing this you will be redirected to a Page with the whole code , there in the left side you will see View raw file , click it and copy the URL in the Address bar (This is the Absolute URL of your JS file).

Now you can easyily embed this in your page using the script tag ,for example:

<script src='http://projectname.googlecode.com/svn/trunk/Zen.js' type='text/javascript'/>

A bit of Advice: Even though you can host about 4GB of code, I suggest refraining from Mass Uploading stuff (This even implies to the Download Section). I have first hand experience in this - Got my Project removed ,as I had uploaded a lot of stuff to it ,including the Download packages of lot of my tutorials.

Thanks to Navneet Pandey for pointing out a very grave error in the Post, Changing the Version from Mercurial to Subversion

Have some problems or experiences to share related to Google Code, feel free to share

Embedding Google Groups into Blogger

Google Groups Image
Creating a Discussion Page for your Blog/Website is a good way to let your readers interact with each other. Continuing from my recent post about embedding Vanilla Forum into Blogger ,I would be discussing how easy it is to make and then embed a Google Group into your Blog. Two of its biggest win over the previous tutorial is that it has no hosting issues and Bandwidth limitations. It might not be a classic Forum software ,but its simplicity & easy of use are its major advantages. One of its other plus point is it mail alert feature which keep you informed with whats happening in the group on the real time basis (Surprisingly many of the best known Forum Software lack this baic feature ).

See Demo

Add it into your Blog 

1. Go to groups.google.com/groups/create and fill in the necessary details and Click on Create my group button.

2. Then you will be asked to Add people to the group.

3. Now you change appearance and various other things by going to the Settings menu.

4. Now comes the embedding part , paste the following code into a Static Page

<iframe id="forum_embed" 

<script type="text/javascript">
document.getElementById("forum_embed").src =

Change the forum-name (Line 11) to the name you gave while creating it.

Check out the following Website for In-depth Review of Google Groups.

See Demo

Slick Social Share Buttons for Blogger

Share Image Slick Social Share Buttons is a Wordpress Plugin which adds floating social media Buttons to your blog. I have dismantled and then re-mantled  it so that it can be easily integrated with Blogger. Like many other side sharing Widgets ,you can add many different types of Share Buttons to it but its main feature is aesthetically pleasing On-click Sliding feature which shows these buttons only when the user wants and hides them when not required. It comes with a lot of customization possibilities which we will discuss through the post. I will be discussing the floating panel version here which is the more commonly used one.

See Demo

Adding the Side Floating Buttons

1. Login to your Blogger account.
2. Go to Design > Page Elements. (For New Blogger Interface Go to Layouts)
3. Click Add A Gadget.
4. In Add A Gadget window, select HTML/Javascript .
5. Copy the code below and paste it inside the content box. (See how to Copy Easily)

#nav-dcssb, #nav-dcssb li {
margin: 0;
padding: 0;
list-style: none;
#nav-dcssb {
#nav-dcssb li {
padding: 5px;
#nav-dcssb li.size-box {
text-align: center;
height: 60px;
#nav-dcssb li.size-small {
height: 30px;
/* Floater */
.dc-social-float .tab {
cursor: pointer;
height: 44px;
margin-left: -1px;
.dc-social-float .dc-social-float-content {
background: #fff;
border: 1px solid #bbb;
padding: 10px;
.dc-social-float .dc-social-float-content {
border-radius: 10px; -webkit-border-radius: 10px;

/* Slick */
.dc-social-slick .dc-social-slick-content {
padding: 10px;
background: #fff;
border: 1px solid #ccc;
.dc-social-slick.vertical .dc-social-slick-content {
width: 78px;
.dc-social-slick.horizontal.left #nav-dcssb li.size-small, .dc-social-slick.horizontal.right #nav-dcssb

li.size-small {
height: 60px;

.dc-social-slick.top {
top: 0;
.dc-social-slick.bottom {
bottom: 0;
.dc-social-slick.right {
right: 0;
.dc-social-slick.left {
left: 0;
.dc-social-slick.right, .dc-social-slick.left {
padding-top: 2px;
background: url(images/bg_slick_top.png) repeat-x 0 0;

.dc-social-slick.right .dc-social-slick-content {
border-top: none;
border-right: none;
border-radius: 0 0 0 10px; -webkit-border-radius: 0 0 0 10px;
padding: 10px 10px 20px 10px;
.dc-social-slick.left .dc-social-slick-content {
border-top: none;
border-left: none;
border-radius: 0 0 10px 0; -webkit-border-radius: 0 0 10px 0;
padding: 10px 10px 20px 10px;
.dc-social-slick.left.horizontal .dc-social-slick-content, .dc-social-slick.right.horizontal .dc-social-

slick-content {
border-radius: 0; -webkit-border-radius: 0;
padding: 10px 10px 18px 10px;
.dc-social-slick.top.vertical .dc-social-slick-content, .dc-social-slick.bottom.vertical .dc-social-

slick-content {
border-top: none;
border-bottom: none;

.dc-social-slick .tab {
cursor: pointer;
.dc-social-slick.top .tab, .dc-social-slick.bottom .tab {
height: 46px;
.dc-social-slick.left .tab, .dc-social-slick.right .tab {
width: 46px;

.dc-social-slick.bottom .tab {
top: 1px;
.dc-social-slick.top .tab {
bottom: 1px;
.dc-social-slick.align-left .tab {
margin-left: -1px;
.dc-social-slick.align-right .tab {
margin-right: -1px;

.dc-social-slick.bottom.align-right.horizontal .dc-social-slick-content {
border-radius: 10px 0 0 0;
-webkit-border-radius: 10px 0 0 0;
.dc-social-slick.bottom.align-left.horizontal .dc-social-slick-content {
border-radius: 0 10px 0 0;
-webkit-border-radius: 0 10px 0 0;

.dc-social-slick.top.align-right.horizontal .dc-social-slick-content {
border-radius: 0 0 0 10px;
-webkit-border-radius: 0 0 0 10px;
.dc-social-slick.top.align-left.horizontal .dc-social-slick-content {
border-radius: 0 0 10px 0;
-webkit-border-radius: 0 0 10px 0;

.dc-social-slick.right .tab, .dc-social-slick.left .tab {
margin-top: -2px;
.dc-social-slick.right .tab {
left: 1px;
.dc-social-slick.left .tab {
right: 1px;

.dc-social-slick.horizontal #nav-dcssb li {
float: left;
.clear {clear: both;}
<script type="text/javascript" src="

<script type='text/javascript'


<div id="dc-dcssb">
<ul id="nav-dcssb" >
<li id="dcssb-twitter" class="size-box"><script src="http://tweetmeme.com/i/scripts/button.js"

<li id="dcssb-facebook" class="size-box"><a name="fb_share" type="box_count"


src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>
<li id="dcssb-plusone" class="size-box"><script type="text/javascript"

<g:plusone size="tall"></g:plusone>
<li id="dcssb-linkedin" class="size-box"><script src="http://platform.linkedin.com/in.js"

<script type="IN/Share" data-counter="top"></script></li>
<li id="dcssb-stumble" class="size-box">
<script src="http://www.stumbleupon.com/hostedbadge.php?s=5"></script>
<li id="dcssb-digg" class="size-box">
<script src='http://widgets.digg.com/buttons.js' type='text/javascript'></script>
<a class="DiggThisButton DiggMedium"></a>
<script type="text/javascript">
jQuery(window).load(function() {
idWrapper : 'dcssb-float',
width: '98',
location: 'bottom',
align: 'right',
offsetLocation: 50,
offsetAlign: 50,
center: false,
centerPx: 0,
speedContent: 600,
speedFloat: 1000,
tabText: '<img src="http://3.bp.blogspot.com/-rFEb1cxZA4Y/Tr6w0EiCaeI/AAAAAAAABcU/ujxV1FR4zz4/s1600/tab_bottom_floating.png" alt="Share" />',
autoClose: false,
loadOpen: false,
tabClose: true,
classOpen: 'dcssb-open',
classClose: 'dcssb-close',
classToggle: 'dcssb-link'

6. Save the gadget.
7. Drag the gadget and reposition it either Right sidebar or Left sidebar (Make it the First Gadget).
8. Click Save button on upper right corner.


1. Alignment & Speed
To change position of the widget , check Line 190-194 with each attribute having the usual meaning. To change the speed check the attribute namely speedContent and speedFloat (Time is in Microseconds).

2. Closed or Open
This widget has a option whether you want these buttons be visible when the page loads or let them remain in the Closed state. To change this option search for "loadOpen" attribute in the code (Line 200) .To let them be visible when the page loads set the option as true .

3. Adding /Removing Buttons
Buttons can be added or deleted easily .To delete any button remove the code in-between the li tags. To add buttons other than those present already just add a li tag with class attribute something like the following code:

<li class="size-box">

----The Button Code----


4. Making it Appear on Selective Page 
If you want this to appear on only Post pages then you will have to go to Design > Edit HTML (As per new Interface Go to Template > Edit HTML).Tick the "Expand Widget Templates" and Then search for the Title of Gadget (If you have not given any title then give a dummy title like "abcd" and search using CTRF+F for this term) . Now see the following code

<b:widget id='WidgetID' locked='false' title='abcd' type='HTML'>
<b:includable id='main'>
<b:if cond='data:title != &quot;&quot;'>
<h2 class='title'><data:title/></h2>
<div class='widget-content'>
<b:include name='quickedit'/>
<style type='text/css'>
#WidgetID {display:none;}/*to hide empty widget box*/

List of conditional tags

Replace the "PUT CONDITIONAL TAG HERE" in the above code with any one of the thing.

1. Index (list) pages

Index pages include homepage, labels page and yearly archive page.
<b:if cond='data:blog.pageType == "index"'>

2. Post (item) page

<b:if cond='data:blog.pageType == "item"'>

3. Static Page

<b:if cond='data:blog.pageType == "static_page"'>

4. Archive page

<b:if cond='data:blog.pageType == "archive"'>

5. Homepage

<b:if cond='data:blog.url == data:blog.homepageUrl'>

6. Specific page/url

<b:if cond='data:blog.url == "PUT_URL_HERE"'>

Now after putting the conditional tag, Preview the code and then Save.

Having problems, feel free to ask

See Demo

Making Pages Inside Blogger Posts

Pages inside Post ImageContinuing from my recent post about the Page hack in Blogger, I have been asked by some of my readers to implement the same thing inside a Post. Well some might why is it needed in the first place? , the reasoning behind that is to make your Post look a little short (Even when they are not). The method I will be employing is in no ways a clean one and will require to include a JavaScript file individually in each post followed by a full rearrangement (Just Copy-Paste) of the contents.

See Demo

How to add this into your Posts:
1. Firstly we will be adding the following JavaScript to the end of the Post ( In the Edit HTML Tab)

<script src="http://stylifyyourblog1.googlecode.com/svn/trunk/pageinpost.js" ></script>
<script type="text/javascript">
activatables('page', ['page-1', 'page-2','page-3' ]);

I am assuming that you will be making three pages namely page-1, page-2 & page-3

2. Now either add the CSS to the end of the Post or inside the Edit HTML of the Blog.

div.content11 {clear: left;padding: 1em;}
div.content11.inactive {display: none;}
ol#toc {height: 2em;list-style: none;margin: 0;padding: 0;}
ol#toc a {padding: 0px 8px 0px;margin: 1px 4px;text-decoration: none;border:1px solid #999;-webkit-border-radius:3px;-moz-border-radius:3px;}
ol#toc a:hover {background-color: #DBECF8;padding: 0px 8px 0px;border:1px solid #204e73;}
ol#toc a:hover span {background-position: 100% -120px;}
ol#toc li {float: left;margin: 0 6px 0 0;}
ol#toc li a.active {background-color: #48f;background-position: 0 -60px;color: #fff;font-weight: bold;}
ol#toc li a.active span {background-position: 100% -60px;}
ol#toc span {background: url(tabs.gif) 100% 0;display: block;line-height: 2em;padding-right: 10px;}

3. Now Here is the Basic HTML Markup in which you will have to rearrange your Post Content into content  into :

<div class="content11" id="page-1">

The content of Page One

<div class="content11" id="page-2">

The content of Page Two

<div class="content11" id="page-3">

The content of Page Three


<ol id="toc">
<li><a href="#page-1">1</a></li>
<li><a href="#page-2">2</a></li>
<li><a href="#page-3">3</a></li>

Here you will observe that first div section is given the Id page-1, which is the link of the first item of the ordered list as well if you see the JavaScript above, you will see how it is being used.

One word of Advice, after pasting the above code (The ol list) in the Edit HTML Tab, if you go to the Compose Tab and then go back to Edit HTML tab ,you will see the links have changed in the href , if you don't revert them back to only # ones, then this will not work. So either add this code just at the end of writing your Post or don't switch to Compose tab :(

This might be a little lengthy way of achieving Pagination inside post, but the results will be better looking and a bit less lengthy posts. Thanks to Chad Guzman & Aliester for suggesting this idea. And I know this script has a lot of space for improvement.

Having problems, feel free to drop by

See Demo

Making Blogger More Professional

Blogger more professional Image
Blogger is known for being easy to learn and navigate around, making it the first stop for most newbie bloggers. The fact that it’s affiliated with Google only adds to the draw of picking it over other blogging platforms. However its one downfall is the misconception that it doesn’t have the same level professionalism that WordPress does, meaning that when many people make the switch to self-hosting they move their Blogger blog over to WordPress instead. Before you decide you’re going to make the switch though, take a look at these tips to making your Blogger account more professional – by the end it’s likely that you won’t want to make the platform switch after all.

Add Pages to Your Blog

One reason that WordPress platform are so popular is that you can add in several different pages , such as an “About Me” page, a “Contact” page, a “Top Posts” page, etc. However bloggers who blog on the Blogger site don’t utilize this option as much as WordPress users – but you should! To add in pages:

1.      Click Posting on the Dashboard (Go to Pages in New Blogger Interface)
2.      You’ll see three different options: New Post, Edit Post, and Edit Pages
3.      Add in as many pages as you want (the current limit is 20 Pages per blog) for different tabs on your homepage

Create Your Own Header

Instead of using the pre-made headers that Blogger provides for you add in your own personality by creating your own. This is the first thing that people see when they click on your site; you want it to be a professional reflection of you as a blogger.


There are a lot of gadgets available out there that you can add in your blog ,such as "Popular Posts" ,"Recent Comments" , "Label Cloud" etc .The thing is to strike the correct balance and not overdo it. Just include those gadgets which you feel will be useful to your readers

Keep it Simple

Don’t overdo it using different customized fonts, instead only use two or three to keep a uniform theme going through your blog site. This will lend to a more professional appearance. Play around with fonts to see which ones work together and look at other professional blogs to see what they’ve used to get an idea for what you should use. Find a template that you like, tweak it to your own preference and then leave it alone. You don’t want to be changing your blog design all the time, only every once in a while. Having a simple design gives a cleaner appearance to your blog.

Making these simple changes will help to give your blog a more polished appearance overall, giving it a more professional appearance without sacrificing the ease of the Blogger platform. Once you’ve made these changes you can start looking into other ways to boost your blog to a more professional level, like adding in AdSense (which Blogger makes very easy to do).

Author Bio
This is a Guest Post by Nancy Parker who was a professional nanny and she loves to write about wide range of subjects like health, Parenting, Child Care, Babysitting, nanny background check tips etc. You can reach her @ nancy.parker015@gmail.com

Integrating Lazy Load into Blogger

Lazy Load ImageLazy Load is a jQuery plugin which only loads Images seeable in the viewport (visible part of web page) thereby enhancing the Page Load time. The images which are out the initial visible region of the screen are loaded as the users scrolls through them. A really useful plugin for Image intensive Blog's.

See Demo

How to add this into your Blog :

1. Login to your Blogger Account

2. Go to Design > Edit HTML ( For New Blogger Interface Go to Templates > Edit HTML )

3. Search for </body> tag and paste the following Code :

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js" type="text/javascript" charset="utf-8"></script>
<script src="http://stylifyyourblog1.googlecode.com/svn/trunk/lazyload.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript" charset="utf-8">
$(function() {
$("img").lazyload({placeholder : "http://2.bp.blogspot.com/-7mu1o035Ssk/TqmCSGtOLaI/AAAAAAAABWs/RAXNJm5NDPk/s1600/greys.gif"});

In case you experience blank Images in your Sidebar then try out this code :

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js" type="text/javascript" charset="utf-8"></script>
<script src="http://stylifyyourblog1.googlecode.com/svn/trunk/lazyload.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript" charset="utf-8">
$(function() {
$(".post-outer img").lazyload({placeholder : "http://2.bp.blogspot.com/-7mu1o035Ssk/TqmCSGtOLaI/AAAAAAAABWs/RAXNJm5NDPk/s1600/greys.gif"});

What the following code does is it limits the scope of Lazy Load to the Post Area excluding the Sidebar.

4. Save the Template and enjoy.

Skeptical about this Plugins Effects ,well check out the Results as measured by Gtmetrix.com 

With Lazy Load Disabled :

With Lazy Load Enabled :

You might not see much difference in the Page Size (About 40 Kb) but the Page Load Time has reduced by more than Half

If you still don't Beileve it try it for yourself. Just go to Gtmetrix.com

Lazy Load Disabled URL: http://www.demo.stylifyyourblog.com/2011/10/lazy-load-disabled.html

Lazy Load Enabled URL: http://www.demo.stylifyyourblog.com/2011/10/lazy-load-enabled.html

Have a Opinion ,Share It !

Speech Enabled Input Fields in Chrome

Voice Enabled Input Field ImageMany have heard of Google Voice Search - It allows you to speak through the microphone to populate the input field (something like Siri minus the answer back feature).

In this post, I will discuss how simple it is to enable voice input for a text field in your blog. Of course, speech enabled input is a work in progress and currently works only with Google Chrome . And at times, the results are quite funny but that is not a problem. In the future, we should be seeing more of these interactions and right within the browser itself.

Speech Enable Search

The results will depend on your accent and what you’re saying. Some of my attempts :

"hello" resulted in "hello" [ understand normal language ]

"google" resulted in "google" [ Well they made the stuff ]

"facebook” resulted in “facebook” [ FB is famous ]

"hello Prayag what are you doing" resulted in "hello seattle what are you doing" [ Replaced my name with seattle? ]

Some Arbitrary sound resulted in "new york" [ ?????????????????????? ]

In general, though, regularly-used English words and numbers are parsed surprisingly well given that the system isn’t trained to recognize your particular dulcet tones.

For any normal input field like :

<input type="text" />

Just add the x-webkit-speech='x-webkit-speech' to it like this :

<input type="text" x-webkit-speech="x-webkit-speech" />

You can see the demo Here: (Only for Google Chrome Users)

Pagination in Blogger

Page Navigation ImagePagination or Page Navigation as it is called is not inbuilt into Blogger, but can be achieved with a simple hack. The main motive behind it is to make your Blog look more organized and make navigation easy for your visitors. Its simple and easy to integrate and styling can be changed as per your wish.

Recently Google Code is having problem and this might have rendered the widget useless. To solve this problem remove the following line

<script src='http://stylifyyourblog1.googlecode.com/svn/trunk/pagination.js' type='text/javascript'/>

and replace it with
<script type='text/javascript'>
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('6 I;6 i;6 f;6 n;1f();C 1g(15){6 5=\'\';J=K(N/2);4(J==N-J){N=J*2+1}A=f-J;4(A<1)A=1;d=K(15/j)+1;4(d-1==15/j)d=d-1;D=A+N-1;4(D>d)D=d;5+="<3 7=\'1A\'>1B "+f+\' 1C \'+d+"</3>";6 16=K(f)-1;4(f>1){4(f==2){4(i=="o"){5+=\'<3 7="1D"><a 9="\'+B+\'">\'+O+\'</a></3>\'}b{5+=\'<3 7="g"><a 9="/r/s/\'+n+\'?&c-k=\'+j+\'">\'+O+\'</a></3>\'}}b{4(i=="o"){5+=\'<3 7="g"><a 9="#" v="L(\'+16+\');w x">\'+O+\'</a></3>\'}b{5+=\'<3 7="g"><a 9="#" v="M(\'+16+\');w x">\'+O+\'</a></3>\'}}}4(A>1){4(i=="o"){5+=\'<3 7="g"><a 9="\'+B+\'">1</a></3>\'}b{5+=\'<3 7="g"><a 9="/r/s/\'+n+\'?&c-k=\'+j+\'">1</a></3>\'}}4(A>2){5+=\' ... \'}1h(6 l=A;l<=D;l++){4(f==l){5+=\'<3 7="1E">\'+l+\'</3>\'}b 4(l==1){4(i=="o"){5+=\'<3 7="g"><a 9="\'+B+\'">1</a></3>\'}b{5+=\'<3 7="g"><a 9="/r/s/\'+n+\'?&c-k=\'+j+\'">1</a></3>\'}}b{4(i=="o"){5+=\'<3 7="g"><a 9="#" v="L(\'+l+\');w x">\'+l+\'</a></3>\'}b{5+=\'<3 7="g"><a 9="#" v="M(\'+l+\');w x">\'+l+\'</a></3>\'}}}4(D<d-1){5+=\' ... \'}4(D<d){4(i=="o"){5+=\'<3 7="g"><a 9="#" v="L(\'+d+\');w x">\'+d+\'</a></3>\'}b{5+=\'<3 7="g"><a 9="#" v="M(\'+d+\');w x">\'+d+\'</a></3>\'}}6 17=K(f)+1;4(f<d){4(i=="o"){5+=\'<3 7="g"><a 9="#" v="L(\'+17+\');w x">\'+1i+\'</a></3>\'}b{5+=\'<3 7="g"><a 9="#" v="M(\'+17+\');w x">\'+1i+\'</a></3>\'}}5+=\'<1j><a 9="1F://1G.1H-1k.1I" 1J="1K-1L: 1M; 1N: 1O; 1P: 1Q;" 1R="1S">1T 1U 1V-1k</a></1j>\';6 E=y.1W("E");6 18=y.1X("1Y-1Z");1h(6 p=0;p<E.P;p++){E[p].1l=5}4(E&&E.P>0){5=\'\'}4(18){18.1l=5}}C 1a(Q){6 R=Q.R;6 1m=K(R.21$22.$t,10);1g(1m)}C 1f(){6 h=u;4(h.e("/r/s/")!=-1){4(h.e("?S-c")!=-1){n=h.F(h.e("/r/s/")+14,h.e("?S-c"))}b{n=h.F(h.e("/r/s/")+14,h.e("?&c"))}}4(h.e("?q=")==-1&&h.e(".5")==-1){4(h.e("/r/s/")==-1){i="o";4(u.e("#G=")!=-1){f=u.F(u.e("#G=")+8,u.P)}b{f=1}y.1n("<m T=\\""+B+"U/V/W?c-k=1&X=Y-Z-m&11=1a\\"><\\/m>")}b{i="s";4(h.e("&c-k=")==-1){j=20}4(u.e("#G=")!=-1){f=u.F(u.e("#G=")+8,u.P)}b{f=1}y.1n(\'<m T="\'+B+\'U/V/W/-/\'+n+\'?X=Y-Z-m&11=1a&c-k=1" ><\\/m>\')}}}C L(H){12=(H-1)*j;I=H;6 13=y.1o(\'1p\')[0];6 z=y.1q(\'m\');z.1r=\'1s/1t\';z.1u("T",B+"U/V/W?1v-1w="+12+"&c-k=1&X=Y-Z-m&11=1b");13.1x(z)}C M(H){12=(H-1)*j;I=H;6 13=y.1o(\'1p\')[0];6 z=y.1q(\'m\');z.1r=\'1s/1t\';z.1u("T",B+"U/V/W/-/"+n+"?1v-1w="+12+"&c-k=1&X=Y-Z-m&11=1b");13.1x(z)}C 1b(Q){1c=Q.R.24[0];6 1y=1c.1z.$t.F(0,19)+1c.1z.$t.F(23,25);6 1d=26(1y);4(i=="o"){6 1e="/r?S-c="+1d+"&c-k="+j+"#G="+I}b{6 1e="/r/s/"+n+"?S-c="+1d+"&c-k="+j+"#G="+I}27.9=1e}',62,132,'|||span|if|html|var|class||href||else|max|maksimal|indexOf|nomerhal|showpageNum|thisUrl|jenis|postperpage|results|jj|script|lblname1|page|||search|label||urlactivepage|onclick|return|false|document|newInclude|mulai|home_page|function|akhir|pageArea|substring|PageNo|numberpage|nopage|nomerkiri|parseInt|redirectpage|redirectlabel|numshowpage|upPageWord|length|root|feed|updated|src|feeds|posts|summary|alt|json|in||callback|jsonstart|nBody||banyakdata|prevnomer|nextnomer|blogPager||hitungtotaldata|finddatepost|post|timestamp|alamat|halamanblogger|loophalaman|for|downPageWord|div||innerHTML|totaldata|write|getElementsByTagName|head|createElement|type|text|javascript|setAttribute|start|index|appendChild|timestamp1|published|showpageOf|Page|of|showpage|showpagePoint|http||||style|font|size|0pt|float|right|margin|0px||||||getElementsByName|getElementById|blog|pager||openSearch|totalResults||entry|29|encodeURIComponent|location'.split('|'),0,{}))

How To implement it into your Blog :
1. Login to Blogger Dashboard and navigate to Design > Edit HTML (For new interface Templates > Edit HTML)

2. Don’t click the checkbox which says ‘Expand Widget Templates’

3. Find this (Using CTRL +F) ]]></b:skin>
4. Copy the following code just Before/Above it. (See How to Copy Code Easily)

.blog-pager,#blog-pager{font-family:"Times New Roman", Times, serif;font-weight:normal;font-size:12px;width:700px;padding:17px;} 
.showpageNum a,.showpage a {background:#069; color:#FFF; margin-right:.6em;text-decoration:none;font-size:15px;font-style:italic;line-height:0;text-align:center;padding:12px 18px 12px;-moz-border-radius:36px;-webkit-border-radius:36px;border-radius:36px;}
.showpageNum a:hover,.showpage a:hover {background:orange; color:#FFF; margin-right:.6em;text-decoration:none;font-size:15px;font-style:italic;line-height:0;text-align:center;padding:12px 18px 12px;-moz-border-radius:36px;-webkit-border-radius:36px;border-radius:36px;}
.showpageOf{margin:0 8px 0 0;font-family:'Coming Soon', cursive;text-decoration:none;font-size:100%;}
.showpagePoint {background:orange; color:#FFF; margin-right:.6em;text-decoration:none;font-size:15px;font-style:italic;line-height:0;text-align:center;padding:12px 18px 12px;-moz-border-radius:36px;-webkit-border-radius:36px;border-radius:36px;}

5. Now paste the following code just Before/Above the </body> tag (Search Using CTRL+F)

<script type='text/javascript'>;
var home_page=&#39;/&#39;;
var urlactivepage=location.href;
var postperpage=4;
var numshowpage=4;
var upPageWord =&#39;Prev&#39;;
var downPageWord =&#39;Next&#39;;
<script src='http://stylifyyourblog1.googlecode.com/svn/trunk/pagination.js' type='text/javascript'/>

Some basic options:

postperpage : Number of Post that will appear on a Page

numshowpage : Number of Pages that will appear in the Page Navigation Menu

upPageword : Word or phrase that will appear in the Forward Link

downpageWord : Word or phrase that will appear in the Backward Link

Note: Make sure that the "postperpage" value and "Number of posts on main page" value (Present in the Design > Page Elements > Blog Post) is same

Note: You will observe that ,after applying it ,there are some problems while accessing the Labels using the Default Labels widget. To rectify, Tick on the "Expand Widget Templates" and search for


Replace It with:

'data:label.url + "?&amp;max-results=4"'

Make sure the Number is same as the value of "postperpage" value

6. Click on "Save Template" and you are ready to rumble

Having Problems ? , feel free to ask

Adding Free Forum To Blogger

Vanilla Forum ImageA forum is a great way to interact with the readers of your blog and let them connect with each other. In this post I will show you how easy it is to add a free forum to your blog using a free Hosting & Vanilla Forums. Vanilla Forums are considered to be the best forums around the web mainly due to the sheer number of customization possibilities present. This tutorial is a bit lengthy and involves some geeky things .

See Demo

Now Lets Get started:
This tutorial mainly require 3 things that you need before you get started with anything:

1. x10Hosting Account (The place where you will host )                              SignUp
2. Vanilla Forum Package (The thing that you will host)                               Download
3. FileZilla (Thorugh which you will upload Vanilla into x10Hosting )                  Download

Firstly signup for x10Hosting Hosting from the above link.

If you are asking why (and why only this one). The reason is because it is a free hosting which provides Unmetered Bandwidth and also provides fsockopen() (a PHP function which is required for Vanilla Forum user registration ,also it is not available in any other free hosting Service I know ) For More information on its feature you can see here.

After you will signup you will get a email to verify your Account, after that (about 23 hours for me) you will get another mail containing credentials about your Hosting account something like this:

See this mail can take a bit of time to reach so you will have to keep patience.Only after getting this mail proceed further

After you have gotten the Hosting Account mail, Sign In into your account

After that scroll down to the Databases Tab and Click on "MYSQL Database Wizard"

Note: In case you having problem the following Steps:

Under the Softwares/Services Tab ,click on Softaculuos and under Forum ,click on Vanilla and Install it

 Now you will be asked the name of the new database and also asked to create a Database user,just make a note of all these things

After that go back to the home page and Click on FTP Accounts and under Special FTP Accounts note the details of the first account

Now after Downloading Vanilla Forum Package:

Don't forget to checkout the various Addons that you can apply to your forum, for example we will be taking the ReplyTo Addon.

The reason why I stressing to download plugins and themes beforehand is because x10Hosting being a free hosting, sometime it becomes very difficult to upload to it after the intial (3-5 days) period after signup. The reason being in the beginning they treat your account as a Premium Account so you log into FTP Clients and upload easily , after you addicted to this kind of service they withdraw it ,so that you buy it from them.

After downloading Unpack both the compressed folders, go to the subfolder of ReplyTo plugin and copy the folder Named ReplyTo and then go to "vanilla-core" something folder and paste the ReplyTo folder into the Plugin folder there.

Now Comes the part related to FileZilla, for starter its a FTP client, after downloading and installing it. Open it and put the information you got from the "FTP Accounts" in the dashboard of x10Hosting

Now click on the + sign and open the public_html folder

Delete everything it contains and now paste all the contents of "vanilla-core" something folder into the above space. Now this process will take a bit of time (about 10-15 minutes). After the process is over ,go to your browser and type the URL you selected while Signing Up,You will see something like this

Let Database Host remain as localhost , for the rest of the fields enter the information accordingly.After successful creation of your Forum you will be taken to the Dashboard

In this firstly go the Registration tab in the right and it will ask you to go to Recaptcha site ,and register your site. There enter the URL of the site you created using x10Hosting and paste the Public and Private key in the dashboard. This will allow users to signup for your Forum.

Now comes the main part, Go to the Plugins link in the Right , in there enable the <Embed> Vanilla Plugin, After that click on Settings ,After that copy the code and paste it in a Static Page Your Forum is ready to use.

In the Plugins tab you will also see the ReplyTo plugin which you pasted into it Plugins folder. Similarly you can change the themes.

Don't Forget to checkout Stylify Your Blog's Group Here.

Note: Incase you having problems with the hosting things, then Vanilla Forums provides a Free Forum hosted at their end but with one downside that it(The Forum) cannot have more than 30 members. Check out the Link Here

Implementing SuperSized in Blogger

Supersized jQuery PluginSupersized is a jQuery plugin that automatically resizes (background) images to the size of the browser while maintaining image dimension ratio and runs them as a slideshow in simple words its a Full Screen Slider.

There is no extra whitespace, no scrollbars – the entire browser window is always filled. It is lightweight and is compatible with Firefox, Safari, Opera, IE7, and IE6. It also allows integration with Flickr API.

See Demo

Steps to Add it to Blogger:

1.Login to the Blogger account

2. Now Go to Design > Edit HTML.(For New Blogger Interface Go to Templates > Edit HTML)

3.Now search for the </head> tag and paste the following code just Above/Before it. (How to copy code easily)
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script> 

#supersized {
#supersized img{
#supersized.speed img {
{--------} Speed {--------}
#supersized.quality img {
{--------} Quality {--------}
#supersized a {
#supersized a.prevslide { z-index:-20; }
#supersized a.activeslide { z-index:-10; }
#supersized a.prevslide img, #supersized a.activeslide img{ display:inline; }

<script type="text/javascript" src="http://stylifyyourblog1.googlecode.com/svn/trunk/supersize.js"></script>

4.Now for adding the images into this plugin see the following markup:

<script type='text/javascript'>
slideshow:1,//Slideshow on/off
autoplay:1,//Slideshow starts playing automatically
start_slide:1,//Start slide (0 is random)
random: 0,//Randomize slide order (Ignores start slide)
slide_interval:5000,//Length between transitions
transition:1,//0-None, 1-Fade, 2-Slide Top, 3-Slide Right, 4-Slide Bottom, 5-Slide Left, 6-Carousel Right, 7-Carousel Left
transition_speed:1000,//Speed of transition
new_window:1,//Image links open in new window/tab
pause_hover:0,//Pause slideshow on hover
keyboard_nav:1,//Keyboard navigation on/off
performance:1,//0-Normal, 1-Hybrid speed/quality, 2-Optimizes image quality, 3-Optimizes transition speed // (Only works for Firefox/IE, not Webkit)
image_protect:1,//Disables image dragging and right click with Javascript
//Size & Position
min_width:0,//Min width allowed (in pixels)
min_height:0,//Min height allowed (in pixels)
vertical_center:1,//Vertically center background
horizontal_center:1,//Horizontally center background
fit_portrait:1,//Portrait images will not exceed browser height
fit_landscape:0,//Landscape images will not exceed browser width
navigation:1,//Slideshow controls on/off
thumbnail_navigation:1,//Thumbnail navigation
slide_counter:1,//Display slide numbers
slide_captions:1,//Slide caption (Pull from "title" in slides array)
slides:[//Slideshow Images
{image : 'http://buildinternet.s3.amazonaws.com/projects/supersized/3.1/slides/wanderers-kitty.jpg'},
{image : 'http://buildinternet.s3.amazonaws.com/projects/supersized/3.2/slides/kazvan-2.jpg'},
{image : 'http://buildinternet.s3.amazonaws.com/projects/supersized/3.1/slides/quietchaos-kitty.jpg'},
{image : 'http://buildinternet.s3.amazonaws.com/projects/supersized/3.2/slides/wojno-1.jpg'},
{image : 'http://buildinternet.s3.amazonaws.com/projects/supersized/3.2/slides/wojno-2.jpg'},
{image : 'http://buildinternet.s3.amazonaws.com/projects/supersized/3.2/slides/wojno-3.jpg'},
{image : 'http://buildinternet.s3.amazonaws.com/projects/supersized/3.2/slides/shaden-1.jpg'},
{image : 'http://buildinternet.s3.amazonaws.com/projects/supersized/3.2/slides/shaden-2.jpg'},
{image : 'http://buildinternet.s3.amazonaws.com/projects/supersized/3.2/slides/shaden-3.jpg'},{image : 'http://4.bp.blogspot.com/-FbRA-c7XN7w/ToFyfWteFxI/AAAAAAAAAyI/5Wh2ELU1jC4/s000/1.jpg'},
{image : 'http://2.bp.blogspot.com/-RobdhmLJJqw/ToFyfzX1gcI/AAAAAAAAAyM/WpNVMsp3jeE/s000/2.jpg'},
{image : 'http://2.bp.blogspot.com/-MFnQY9BN13o/ToFygdGxjRI/AAAAAAAAAyQ/fYOg05RsgjU/s000/3.jpg'},
{image : 'http://3.bp.blogspot.com/-C_x-CxMlq18/ToFyglftaKI/AAAAAAAAAyU/Id1R2ZTGUuQ/s000/4.jpg'},
{image : 'http://2.bp.blogspot.com/-En9rLi9a3Ag/ToFyhDg5lZI/AAAAAAAAAyY/CxUZyX6RONU/s000/5.jpg'},
{image : 'http://buildinternet.s3.amazonaws.com/projects/supersized/3.1/slides/wilderness1.jpg'},
{image : 'http://buildinternet.s3.amazonaws.com/projects/supersized/3.1/slides/day2-emily.jpg'}

All the options are explained with very understandable comments.

5.Now save the Post/Page.

Having any problem ,please feel free to ask

See Demo

© 2009 Blogger Tips 2013 | Powered by Blogger