Tuesday, 18 September 2012

Add A Floating Sidebar On Blogger




You may saw this on many popular websites like Apple and Facebook and bunch of other websites and it's not that hard to get this on your blog.It's a jquery effect so make sure that your blog contain jquery script so if it does then you can skip our first and second step.

Installing :

  • Go To Blogger > Template > Edit HTML > Search for </head> 
  • Just above  </head>   paste following jquery script

<script type='text/javascript' src="http://widcraft.googlecode.com/svn/jquery.js'></script>

  • Then search any one of below codes. In custom blogger templates

<div id='rsidebar-wrapper'>

  • Or in default templates

<div class='column-right-outer'>

  • Or whatever your sidebar is just comment and i'll help you to find it Just copy the below code and paste it above the above code.

<script type="text/javascript">
        $(function() {
            var offset = $("#rsidebar-wrapper").offset();
            var topPadding = 15;
            $(window).scroll(function() {
                if ($(window).scrollTop() > offset.top) {
                    $("#rsidebar-wrapper").stop().animate({
                        marginTop: $(window).scrollTop() - offset.top + topPadding
                    });
                } else {
                    $("#rsidebar-wrapper").stop().animate({
                        marginTop: 0
                    });
                };
            });
        });
    </script>

 Customizing :

  • Replace the red colored text with the corresponding value. 
  • If you want to animate any other widget, find its class used for CSS and replace it with green colored text. If you have any doubt, let me know.
Comment for any type of help.....

Sunday, 16 September 2012

About The Author Widget For Blogger


Wordpress provides you About The Author widget to tell your visitors about you but on the other hand Blogger gives you nothing like that but still with some editing we can create our own About The Author widget.

Installing :

  • Go To Blogger > Template > Edit HTML > Mark "Expand Widget Templates"
  • Search For ]]></b:skin> and just above it paste following css :

#ath {
background:#f8f8f8;
margin:0 0 40px 0;
padding:10px;
border: 3px outset #e8e8e8; -moz-border-radius: 10px; border-radius: 10px;
overflow:hidden;
font-size: 14px;
}
.pro {
background:#FFF !important; float:left;
margin:0 10px 0 0;
padding:4px;
border: 2px inset #e8e8e8;
}

  • Next Search for data:post.body  
  • Just below it paste the following code:

<b:if cond='data:blog.pageType == &quot;item&quot;'>
<b:if cond='data:post.author == &quot;AUTHOR NAME&quot;'>
<div id="ath">
<div>
<img class="pro" height="120" src="Your Pic URL" width="120" /><i><strong style="font-size: 18px;">Your Heading:</strong></i>
Your Description Here.Your Description Here.Your Description Here.Your Description Here.Your Description Here.Not More Word.
Join Me On: <a href="http://www.facebook.com/##########">Facebook</a>, <a href="http://www.twitter.com/##########">Twitter</a>, <a href="http://plus.google.com/##########">Google Plus</a></div>
</div>
</b:if></b:if>

  •  Save Template.
Customizing :

  • Replace AUTHOR NAME with the account name of the guest author. This name should match exactly the name appearing on his posts.
  • Replace all blue fields with your info.

Saturday, 15 September 2012

15 Tips To Avoid Google Adsense Account Ban


Google Adsense is a perfect way to earn thousands of dollars with your website and blogs. Every big company is using this service to earn some large amounts from their website. Adsense pays you for loyal and fair clicks on their ads not for spams and cheats.

Many new bloggers get approved for Adsense but because they think it's a money machine they try to cheat it and soon they get banned from it. In this post, I'am sharing 15 tips with you to avoid your Adsense from a permanent ban so read them carefully :

  1. Never use Pay-To-Click websites on your blog/site because Adsense doesn't allow you PTC click services.
  2. Don't hide Adsense ads under your site's menu , slider or between images because it will approach visitors to click on ads accidentally and you'll be get ban.
  3. Don't ask peoples to click on ads and don't even try to ask peoples on social networks like Facebook and Twitter because Adsense will detect it and it'll be not so good for you.
  4. Your blog or website must  have at least 70% search or organic traffic. If your website traffic is mainly coming from social networks  like Facebook then there is a chance that Google will deactivate your account. You can use Google Analytics to know more about your site's traffic.
  5. Publish unique content on your site because Adsense doesn't allow cheaters to copy and paste content from different sites.If you're doing then make sure to change article in your words.
  6. Never ever put Google Adsense ads on your  empty pages,contact pages or related like About me, Privacy Policy , Contact us, Form filling etc. Because Google advertisers pays you for ads on your content not on your Policy and all.
  7. All ways choose good quality key words for your blog/site and try to avoid keywords related to Hacking or Drugs.
  8. Never try cloakling  or any other black hat Search Engine Optimization.Black Hat SEO works fast but Google will  mark your website as spam.
  9. Never exchange links with other websites mainly which are  non related website.
  10. Adult content is not allowed by Adsense so don't post pornography and don't ever iFrame pornography sites. 
  11. Adsense is all you need so don't use any low-quality advert site with Adsense on your blog. Such as ClickSor and Bitvertiser..
  12. Don't write text which approach your visitors to click on ads.
  13. Never try to edit Adsense ads code or place it in fixed position.
  14. Adsense hates spam and all site related to it so don't put site links related to spam and all.
  15. Pop-Ups are annoying also Adsense hates them so don't put any pop-ups on your site to provide good quality content.

Dynamic jQuery Menu For Blogger



First of all Blogger is still under maintenance so if you bought a domain then you have to wait more time to change it.Well maybe Blogger is doing some major changes , whatever we'll talk about it later.

This menu so beautiful and you can also customize it. It's a jquery based menu and i don't think now i have to explain power of jquery because you can experience it in my last posts which was about a Lightbox created by me so it's get started with this menu...

Installing :

  • Go To Blogger > Template > Edit HTML > Search for </head> 
  • Just above </head> paste following script :

<script type="text/javascript" src="http://widcraft.googlecode.com/svn/jquery.min.js"></script>
<script type="text/javascript" src="http://widcraft.googlecode.com/svn/DynamicMenu.js"></script>

  • Now just above </body> add following script :
<script language="javascript" type="text/javascript">
            $(function() {
                $("#webwidget_menu_glide").webwidget_menu_glide({menu_width:"100", menu_height:"30", menu_text_size:"15", menu_text_color:"#FFF", menu_sprite_color:"red", menu_background_color:"#C91A3E", menu_margin:"5", sprite_speed:"normal", container:"webwidget_menu_glide" });
            });
        </script>

  • Now search for ]]></b:skin> and just above it paste following css :

.webwidget_menu_glide{
    padding: 5px;
    -moz-border-radius-topright: 10px;
    -moz-border-radius-topleft: 10px;
    -webkit-border-top-left-radius: 10px;
    -webkit-border-top-right-radius: 10px;
    -khtml-border-radius-topright: 10px;
    -khtml-border-radius-topleft: 10px;
    border-radius-topright: 10px;
    border-radius-topleft: 10px;
    -moz-border-radius-bottomright: 10px;
    -moz-border-radius-bottomleft: 10px;
    -webkit-border-bottom-left-radius: 10px;
    -webkit-border-bottom-right-radius: 10px;
    -khtml-border-radius-bottomright: 10px;
    -khtml-border-radius-bottomleft: 10px;
    border-radius-bottomright: 10px;
    border-radius-bottomleft: 10px;

    border-radius:10px;
}
.webwidget_menu_glide .webwidget_menu_glide_sprite{
    width: 100px;
    height: 20px;
    background-color: fuchsia;
    position: absolute;
    -moz-border-radius-topright: 10px;
    -moz-border-radius-topleft: 10px;
    -webkit-border-top-left-radius: 10px;
    -webkit-border-top-right-radius: 10px;
    -khtml-border-radius-topright: 10px;
    -khtml-border-radius-topleft: 10px;
    border-radius-topright: 10px;
    border-radius-topleft: 10px;
    -moz-border-radius-bottomright: 10px;
    -moz-border-radius-bottomleft: 10px;
    -webkit-border-bottom-left-radius: 10px;
    -webkit-border-bottom-right-radius: 10px;
    -khtml-border-radius-bottomright: 10px;
    -khtml-border-radius-bottomleft: 10px;
    border-radius-bottomright: 10px;
    border-radius-bottomleft: 10px;

    border-radius:10px;
}
.webwidget_menu_glide ul{
    padding: 0px;
    margin: 0px;
    font-family:Arial;
}
.webwidget_menu_glide ul li{
    float: left;
    list-style: none;
    position: relative;
    text-align: center;
    margin-right: 10px;
    width: 100px;
}
.webwidget_menu_glide ul li a{
    color: black;
    text-decoration: none;
    font-weight: bold;
}
.webwidget_menu_glide ul li ul{
    -moz-border-radius-bottomright: 7px;
    -moz-border-radius-bottomleft: 7px;
    -webkit-border-bottom-left-radius: 7px;
    -webkit-border-bottom-right-radius: 7px;
    -khtml-border-radius-bottomright: 7px;
    -khtml-border-radius-bottomleft: 7px;
    border-radius-bottomright: 7px;
    border-radius-bottomleft: 7px;
    border-radius:7px;
    padding-bottom: 5px;
    position: absolute;
    z-index: 999999;
    display: none;
}
.webwidget_menu_glide ul li ul li{
    -moz-border-radius-topright: 0px;
    -moz-border-radius-topleft: 0px;
    -webkit-border-top-left-radius: 0px;
    -webkit-border-top-right-radius: 0px;
    -khtml-border-radius-topright: 0px;
    -khtml-border-radius-topleft: 0px;
    border-radius-topright: 0px;
    border-radius-topleft: 0px;
    border-radius:0px;
    margin: 0px;
    float: none;
    border:none;
    word-wrap:break-word;
}
.webwidget_menu_glide ul li ul li a{
    padding-left: 5px;
    padding-right: 5px;
    font-weight: normal;
}

  • Save your template.

Well it was a bit long but this menu really worst it....now time to it on your layout :

  • Go To Blogger > Layout > Add A Gadget > HTML/JavaScript > Paste following code :

<div id="webwidget_menu_glide" class="webwidget_menu_glide">
<div class="webwidget_menu_glide_sprite"></div>
<ul>
<li class="current"><a href="#">Home</a></li>
<li><a href=" # ">News</a></li>
<li><a href=" # ">About</a></li>
<li><a href="#">Contact</a></li>
<li><a href=" # ">More...</a></li>
</ul>
<div style="clear: both"></div>
</div>

Done.....


Customizing :

You can full customize this menu by editing the script we added above </body> tag.....Below are the fields you can customize marked in large text


<script language="javascript" type="text/javascript">
            $(function() {
                $("#webwidget_menu_glide").webwidget_menu_glide({menu_width:"100", menu_height:"30", menu_text_size:"15", menu_text_color:"#FFF", menu_sprite_color:"red", menu_background_color:"#C91A3E", menu_margin:"5", sprite_speed:"normal", container:"webwidget_menu_glide" });
            });
        </script>

Friday, 14 September 2012

PixelBox



Download Demo

I'am a huge lightbox fan and often peoples ask me which lightbox do I use so I created my own. It's call PixelBox lightbox created by me and it's 100% free to use.

It's version 1.0 of my pixelbox and I'll be doing some changes in it later so subscribe to my site to keep updated. It not looks so great in above image but please give it a try and please check the demo. I think you'll like it.

Supports :
All image formats.

Currently Working On :
Inline Content

Thursday, 13 September 2012

BigRock Promo Codes


In this post we'll every month post latest BigRock Promo Codes so you can get a domain or hosting in less money.Enter these coupon codes in checkout page of your order.If any of following code is not working or you got one than please comment.

Offer Promo Code
Up to 25% Off wwefansnation.com
Save 10% off domains and 20% off all other products. FBSAVE1056
Free website on purchase of COM/NET domain. BRSUPER
5% off on domains and 10% off all other products. BIGTWIT10

Maintenance In Progress - Domain Switching Disabled.


Yesterday i bought a domain for my WWE blog from BigRock and just after it when i visited blogger to setup my domain i found a message "Maintenance in progress - Domain switching disabled." and when i searched it on Google i found that there are hundreds of guys wondering what the hell is going on so let me clear it.

Right now Blogger is working on some sort of new feature or updating/fixing some error and because of it Blogger currently/temporary disabled this feature so if you bought a domain recently or going to buy so please wait ( Just like i'am doing ) for some hours and after that you'll able to customize your domain.We'll post updates on this post so please leave a comment......

Update : Problem is solved on 18/9/12 so now you can go and update your domains....thanks for all comments....if you're facing this problem then you can comment...

Wednesday, 12 September 2012

Related Posts Widget With Thumbnails For Blogger


Just realize that there are no related posts widget is on my blog. So I thought that I should add one for you guys. Here it is easy and beautiful. It's an eye catching widget which will give your visitor what they are looking for.

Installing :

  • Go To Blogger > Template > Edit HTML > Search for ]]></b:skin> :

#related-posts {
float : left;
width : 480px;
margin : 20px 0 20px;
padding: 5px;
}
#related-posts h2{
font-weight : normal;
color : #111;
font-family : "Nobile", "Helvetica Neue", Arial, Helvetica, sans-serif;
font-style : normal;
font-size:18px;
line-height: 24px;
padding:10px 10px;
margin:0;
}
#related-posts a {
border:1px solid #fff!important;
}
#related-posts a:hover {
background:#F2F2F5;
border:1px solid #CCC!important;
}

  • Now put the below script just above </head>

<script type='text/javascript'>
var defaultnoimage=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3UH4DFkEdnHZ1pnH4sc-n0sYyiKYS2Q5qWNuZfUnoM8mCOnyGs57pSs3tlX9RjZpFHJB0edAOBk7UGtvGFs-aVpTPXpKb4JtI-oRWZzfpNPgUjdsSlDq29b8yp_yrI52HvCux3ZLOYdo/s1600/noimage.png&quot;;
var maxresults=6;
var splittercolor=&quot;#d4eaf2&quot;;
var relatedpoststitle=&quot;Related Posts&quot;;
</script>
<script type='text/javascript'>
//<![CDATA[
var relatedTitles = new Array();
var relatedTitlesNum = 0;
var relatedUrls = new Array();
var thumburl = new Array();
function related_results_labels_thumbs(json) {
for (var i = 0; i < json.feed.entry.length; i++) {
var entry = json.feed.entry[i];
relatedTitles[relatedTitlesNum] = entry.title.$t;
try
{thumburl[relatedTitlesNum]=entry.media$thumbnail.url;}
catch (error){
s=entry.content.$t;a=s.indexOf("<img");b=s.indexOf("src=\"",a);c=s.indexOf("\"",b+5);d=s.substr(b+5,c-b-5);
if((a!=-1)&&(b!=-1)&&(c!=-1)&&(d!=""))
{thumburl[relatedTitlesNum]=d;} else {if(typeof(defaultnoimage) !== 'undefined') thumburl[relatedTitlesNum]=defaultnoimage; else thumburl[relatedTitlesNum]="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3UH4DFkEdnHZ1pnH4sc-n0sYyiKYS2Q5qWNuZfUnoM8mCOnyGs57pSs3tlX9RjZpFHJB0edAOBk7UGtvGFs-aVpTPXpKb4JtI-oRWZzfpNPgUjdsSlDq29b8yp_yrI52HvCux3ZLOYdo/s1600/noimage.png";}
}
if(relatedTitles[relatedTitlesNum].length>42) relatedTitles[relatedTitlesNum]=relatedTitles[relatedTitlesNum].substring(0, 35)+"...";
for (var k = 0; k < entry.link.length; k++) {
if (entry.link[k].rel == 'alternate') {
relatedUrls[relatedTitlesNum] = entry.link[k].href;
relatedTitlesNum++;
}
}
}
}
function removeRelatedDuplicates_thumbs() {
var tmp = new Array(0);
var tmp2 = new Array(0);
var tmp3 = new Array(0);
for(var i = 0; i < relatedUrls.length; i++) {
if(!contains_thumbs(tmp, relatedUrls[i]))
{
tmp.length += 1;
tmp[tmp.length - 1] = relatedUrls[i];
tmp2.length += 1;
tmp3.length += 1;
tmp2[tmp2.length - 1] = relatedTitles[i];
tmp3[tmp3.length - 1] = thumburl[i];
}
}
relatedTitles = tmp2;
relatedUrls = tmp;
thumburl=tmp3;
}
function contains_thumbs(a, e) {
for(var j = 0; j < a.length; j++) if (a[j]==e) return true;
return false;
}
function printRelatedLabels_thumbs(current) {
var splitbarcolor;
if(typeof(splittercolor) !== 'undefined') splitbarcolor=splittercolor; else splitbarcolor="#d4eaf2";
for(var i = 0; i < relatedUrls.length; i++)
{
if((relatedUrls[i]==current)||(!relatedTitles[i]))
{
relatedUrls.splice(i,1);
relatedTitles.splice(i,1);
thumburl.splice(i,1);
i--;
}
}
var r = Math.floor((relatedTitles.length - 1) * Math.random());
var i = 0;
if(relatedTitles.length>0)document.write('<h2>'+relatedpoststitle+':</h2>');
document.write('<div style="clear: both;"/>');
while (i < relatedTitles.length && i < 20 && i<maxresults) {
document.write('<a style="text-decoration:none;padding:5px;float:left;');
if(i!=0) document.write('border-left:solid 0.5px '+splitbarcolor+';"');
else document.write('"');
document.write(' href="' + relatedUrls[r] + '"><img style="width:125px;height:125px;padding:2px;border:solid 1px #eaeaea;" src="'+thumburl[r]+'"/></a>');
i++;
if (r < relatedTitles.length - 1) {
r++;
} else {
r = 0;
}
}
document.write('</div>');
relatedUrls.splice(0,relatedUrls.length);
thumburl.splice(0,thumburl.length);
relatedTitles.splice(0,relatedTitles.length);
}
//]]>
</script>

  • Now click on 'Expand Widget Templates' and search for <div class='post-footer-line post-footer-line-2'> and put the following code after <div class='post-footer-line post-footer-line-2'> :

<b:if cond='data:blog.pageType == &quot;item&quot;'>
<div id='related-posts'>
<b:loop values='data:post.labels' var='label'>
<b:if cond='data:label.isLast != &quot;true&quot;'>
</b:if>
<script expr:src='&quot;/feeds/posts/default/-/&quot; + data:label.name + &quot;?alt=json-in-script&amp;callback=related_results_labels_thumbs&amp;max-results=9&quot;' type='text/javascript'/></b:loop>
<script type='text/javascript'>
removeRelatedDuplicates_thumbs();
printRelatedLabels_thumbs(&quot;<data:post.url/>&quot;);
</script>
</div><div style='clear:both'/>
<!-- remove --></b:if>
<b:if cond='data:blog.url == data:blog.homepageUrl'><b:if cond='data:post.isFirstPost'/></b:if>

Note : If you can't find <div class='post-footer-line post-footer-line-2'> code, you can also look for <data:post.body/> and put code on point 5 after <data:post.body/>

Free Google Adwords Voucher Giveaway

We're giving away this Adwords voucher worth 2500India Rupee so let's see who grabs it first....Comment if you grabbed so we can post your name......if no one redeemed it before 25Sept then i'll redeem it so be quick.

Conditions :

  • Expires on 30th Sept. 2012.
  • For new customers only

Voucher #1 :


Voucher #2 :



We may post more vouchers in future so subscribe to our feed to stay updated.

GoDaddy Promo Codes



In this post we'll every month post latest GoDaddy Promo Codes so you can get a domain or hosting in less money.Enter these coupon codes in checkout page of your order.If any of following code is not working or you got one than please comment.

Offer Promo Code
$7.99 .com Registration cjcFAT799
$10 off order over $50.00 cjcFAT50
49% off on .com iapwd495c
49% off on .com cjc495wd2
15% off order over $75.00 cjcFAT75
20% off Hosting plans of 12+ Month cjcFAT20h
10% off Orders cjcFAT10
$5 off order over $30.00 cjcFAT30
20% off Next Order of $40 or more BBCNAA
15% off Cloud Hosting LKSVDC03
25% off Purchase Happy25s
20% off Renewals GDBBA547
$7.67 .BIZ renewal EMFB7
20% off Search Engine Visibility LKSSEV20
30% off Purchase FBF30TLD
20% off Order gdbba1005
$5.99 .com Domains LKS599V
.COM Domains $7.99 LKSRTL799
3 Months Economy hosting for $1.99 per month cjcFat199
$5.99 .COM offer cjc599v
$12.99 SSL Certificates LKSRTLSSL

Popular Posts

 
Powered by Blogger.