Minggu, 16 September 2012

WebM :An open media file format designed for the web

Ads: eBay - one of the UK's largest shopping destinations: ebayCell Phone, Accessories | eBay

WebM is a Free, Evolving, Open video Format for use with HTML5 video, compressed with VP8 video codec and Vorbis audio codec.The WebM file structure is based on the Matroska media container.Matroska is usually found as .MKV files (matroska video), .MKA files (matroska audio) and .MKS files (subtitles).

VP8:

VP8 is an open video compression format created by On2 Technologies,on September 13,2008. See more

Vorbis audio codec:

it is a free open source project done by the Xiph.Org Foundation. See more

New in WebM:

  • High quality(HQ)video
  • Amazing video playback performance(on slower computers also)
  • 100% free and open to everyone

From last two or three days YouTube has started providing their file in WebM format as a part of HTML5.
  1. To play WebM file on YouTube Goto:www.youtube.com/html5 and click on "Join the HTML5 trial"

  2. Enter "&webm=1" at the end of URL.

  3. Download WebM supported browser on your computer.WebM supported bowsers are:


  • Mozilla Firefox 4.x and above
  • IE9 and above
  • Google chrome 6 and above
  • Opera 10.6x and above

To play WebM file you only need WebM, supported browser or media player.

VLC,Winamp AND Windows media player 12 are supported media player for WebM.

TO convert any video into WebM format download WebM tools from here


WebM is an open source project.you can develope your own code and publish it.You can also participate in this projrct at: Developer

See Also:

Selasa, 04 September 2012

How to Create Free Webpage Hit Counter using Javascript?

In this post I am gonna show you how to create your own free Webpage hit counter for your website. Many of newbies or website developer use hit counter available on internet provided by some website,But It slows down your page loading. Hit counter created using "localStorage" in javascript is far better than cookies or any ready made counter. Count will increase even if you close browser window and next time you refresh page

Copy the code given below into script tag and refresh the page to count:



if (localStorage.pagecount)
{
localStorage.pagecount=Number(localStorage.pagecount) +1;
}
else
{
localStorage.pagecount=1;
}
document.write("Visits: " + localStorage.pagecount + " time(s).");

If you want to count page view for session of your browsing you can use "sessionStorage". It will increase count until you close your browser.


Copy the code given below into script tag and refresh the page to count:


if (sessionStorage.clickcount)
{
sessionStorage.clickcount=Number(sessionStorage.clickcount)+1;
}
else
{
sessionStorage.clickcount=1;
}
document.write("You have clicked the button " +
sessionStorage.clickcount + " time(s) in this session.");

Was this Information helpful?

Yes No


Rabu, 29 Agustus 2012

How to get free CU.CC Domain URL for 2 years.

You might be tired of your free hosting Domain URL.In this post I am gonna show you how to get free cu.cc (E.g. xxxxx.cu.cc)domain for your site.Yester day i came across the site which provide free domain name(s) for 2 years for free.So I tried to register my blog there and it's very easy.Here is the step to get free domain name

Step-1:

First of all check availability of Domain Name(Enter name of domain in text box below):


OR

Click here to Check for availability.

Step-2:

If you find it available, Select "register 1 year "or "register 2 year" and Click on "Ckeckout".See Below:

Step-3:

Sign up for new account.And then Sign in to your account.Now you have to redirect this URL to your free hosting site URL(E.g. xxxxx.yyyyy.com).For this Click on "My Domains".You will see your domain URL there(E.g. xxxxx.cu.cc).

Step-4:

Click on Pencil tools immeadiately after URL.

Step-5:

Click on "URL Forwarding".Now fill details.Then Click on "Setup URL forwarding".

Step-6:

Now you just type your new URL into Address Bar of your browser. You will see your website there. That's it!

You can see this blog at:

Bytesinfo.cu.cc


Was this Information helpful?

Yes No

See Also:


Sabtu, 25 Agustus 2012

Easy way to earn money online with advertisements

Ads:

Best selling and shopping at: ebay


Hello there,

In this post i'm gonna giving you information about site which gives you ads to display on your site if you are continuously disapproved by Google Adsense.

I apply many time for Google AdSense but disapproved every time.Suddenly i come come across some site which are alternatives to Google AdSense.

The first one is VigLink. This site provide you in text link for your contents.it will detect some specific product name and will put link to that site.when user click on that link your link count will increase. Click here to register with VigLink

The second is clicksor .This site provides text link with graphic link also. it will also show pop-up on your site and you will get money for every click and referral.Payment will be done using paypal or check. Click Here to register with clicksor

The next is CBPROADSit will provide you a direct link of ads with various types of ads(e.g ontextual ads,widget ads for mobile ,block image ads etc.).Click here to register with CBPROADS

The next is adpruddenceit will provide you a direct CODE of ads with various types and size of ad blocks.Click here to register with adprudence

The next is infolinks.This site is good if your site have enough textual content on it.it will provide in text link for your page.

The next is eDomz.you just need to register your site here.they will verify your site and reply you.need minimum 25$ to withdraw money.Click Here to register for eDomz


Some more are also avalable:

www.affinity.com/
www.infolinks.com/join-us
www.luminate.com/
www.hubpages.com/
www.tagvillage.com
www.breezeads.com/
Protected by Copyscape DMCA Copyright Detector

See Also:


Minggu, 19 Agustus 2012

Example of polymorphism in java with abstract class

Ads:

Best selling and shopping at: ebay

free Download unlimited wallpaper at: Photoshare.byethost3.com


Program definition:

Write a program to create abstract class shape having instance variables dim1(dimension) in double and color and two member methods: 1.void display():displays the color of the specific shape. 2.abstract void area(): gives the area for given shape.

Note:

A method for which you want to ensure that it must be overridden(In following example area()),you can define such method as abstract methodand class that contains one or more abstract method must be abstract class.Just put keyword abstract to define it as abstract class


abstract class shape
{
private double dim1;
String color;
shape(double d1,String c)
{
dim1=d1;color=c;
}
void display()
{
System.out.println("Color :"+color);
}
abstract void area();
public double getdim1(){return(dim1);}
}
class triangle extends shape
{
private double dim2;//dim1=base,dim2-altitude
triangle(double d1,double d2,String c)
{
super(d1,c);
dim2=d2;
}
void area()
{
double d1=getdim1();
double a;
a =d1*dim2/2;
System.out.println("Area :"+a);
}
}
class square extends shape
{

square(double d1,String c)
{
super(d1,c);
}
void area()
{
double d1=getdim1();
double a=d1*d1;
System.out.println("Area :"+a);
}
}
class rectangle extends shape
{
private double dim2;//dim1=width,dim2=breath
rectangle(double d1,double d2,String c)
{
super(d1,c);
dim2=d2;
}
void area()
{
double d1=getdim1();
double a= d1*dim2;
System.out.println("Area :"+a);
}
}
class circle extends shape
{

circle(double d1,String c)
{
super(d1,c);
}
void area()
{
double d1=getdim1();
double pi=3.1416;
double a= 2*pi*d1;
System.out.println("Area :"+a);

}
}
class a9
{
public static void main(String args[])
{
triangle t = new triangle(2,4,"red");
t.display();
t.area();
square s = new square(4,"green");
s.display();
s.area();
rectangle r = new rectangle(4,8,"yellow");
r.display();
r.area();
circle c = new circle(6,"orange");
c.display();
c.area();
}
}

For more Assignment problems Click Here


See Also:

Sabtu, 28 Juli 2012

How to Make the Blogger Posts Have a Calendar for the Date in

It's quite common to see calendar style dates next to some WordPress posts but for the Blogger platform it isn't always easy adding it. But who said you can't do it? You need to look no further than this blog. In this tutorial, we'll learn how to create a calendar style for your Blogger posts date!


How to create calendar style dates in Blogger



Step 1. Go to "Settings" > "Language and Formatting" - "Date Header Format" and change the date format as you can see in this example below (first add day, month and finally year)
 

Step 2. Go to Template > click the "Edit HTML" button


Step 3. Click anywhere inside the code area and press CTRL + F to open the blogger' search box

Step 4. Type or paste the following line inside the search box and hit Enter to find it:
<h2 class='date-header'><span><data:post.dateHeader/></span></h2>
Step 5. In case you find it twice, replace it twice with this code:
<div id='Date'>
<script>changeDate(&#39;<data:post.dateHeader/>&#39;);</script>
</div>
<b:else/>
<div id='Date'>
<script>changeDate(&#39;&#39;);</script>
</div>
Step 6. Now type this tag inside the search box and hit Enter to find it:
</head>
Step 7. Just above the </head> tag, paste this code:
<script type='text/javascript'>
//<![CDATA[
var DateCalendar;
function changeDate(d){
if (d == "") {
d = DateCalendar;
}
var da = d.split(' ');
day = "<strong class='date_day'>"+da[0]+"</strong>";
month = "<strong class='date_month'>"+da[1].slice(0,3)+"</strong>";
year = "<strong class='date_year'>"+da[2]+"</strong>";
document.write(month+day+year);
DateCalendar = d;
}
//]]>
</script>
<b:if cond='data:blog.pageType != &quot;static_page&quot;'>
<style type='text/css'>
/* Calendar style date
----------------------------------------------- */
#Date {
background: transparent url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEUREzYT-M695IVif6wAT1IdseLNBg5jPXHDc7xgrWiBNY0Oe-CZTkBGarAxnCmf8CjYSTdMeaMUq-81WNEah44_GtaQCas8ElLWJnG926CIHyoCmOE4iiiG933OiiIKJQ3VIB5dwGsvuk/s1600/calendar07.png) no-repeat;
display: block;
width:60px;
height:60px;
float: left;
margin: 15px 2px -40px -108px;
padding: 0 0 8px 0px;
border: 0;
text-transform: uppercase;
}
.date_month {
display: block;
font-size: 15px;
font-weight:bold;
margin-top:-1px;
text-align:center;
color:#ffffff; /* Month's color */
}
.date_day {
display: block;
font-size: 28px;
font-weight:bold;
margin-top:-8px;
text-align:center;
color:#282828; /* Day's color */
}
.date_year {
display: block;
font-size: 10px;
margin-top:-8px;
text-align:center;
color:#282828; /* Year's color */
}
</style>
</b:if>
Before saving the Template, here we can make some changes:

- To change the calendar style, replace the url in blue with yours;
- If the calendar doesn't appear as it should, change -108 with 0;
- With green are marked the areas where you can change the color of the dates

Step 8. Now Preview your Template and if everything looks ok, hit the Save Template button.

That was all... Enjoy!

Sabtu, 21 Juli 2012

Quick Sort Algorithm in C


Quick Sort algorithm is algo. for sorting given no of data with complexity 'in order of' n2[O(n2)].Here is the complete program Implemented in C language for Microsoft Windows OS.




#include
#include
void sort(int [],int,int); //prototype of sort()
void partarray(int [],int,int,int *); // prototype of partition()
void main()
{
int i,j,a[8]={13,24,324,41,55,46,37,38};
clrscr();
sort(a,0,7);// call to sort function
//0 points to lower bound
// 7 points to upper bound
for(i=0;i<8;i++)
printf("%d\n",a[i]); //printing sorted array
getch();
}
void sort(int a[],int lb,int ub)
{
int j;
if(lb >=ub) // condition for recursion breaking
return;
partarray(a,lb,ub,&j);
sort(a,lb,j-1); //recursive call to sort() function
sort(a,j+1,ub);
}
void partarray(int a[],int lb,int ub,int *j)
{
int b,down,up,t; //if you see,left most end is
// pointed by up pointer and
// vice versa
b=a[lb];
down=ub;
up=lb;
while(down > up)
{
while(a[up] <= b && up < ub)
up++; //updating up pointer
while(a[down] > b && down >= lb)
down--; //uadating down pointer
if(down > up)
{
t=a[down];
a[down]=a[up];
a[up]=t;
}

}
a[lb]=a[down];
a[down]=b;
*j=down;
}
Protected by Copyscape Web Plagiarism Detector

You can also analyze the time taken by sort() function in Linux OS using 'gettimeofday()' function.


Ads: ebay :ebay UKBest selling and shopping at:ebayebay.co.uk

See Also:

Kamis, 12 Juli 2012

Submit Blog & Sitemap to Google, Bing & Yahoo

Submit Blog & Sitemap to Google, Bing & Yahoo

Submit-Blog-Sitemap-Google-Bing-Yahoo
Submit Blog & Sitemap to Google, Bing & Yahoo

Submit Blog to Google


1. Go to Google Webmasters
2. Login with your google account
Read the rest of this post »

SEO Blogger Tricks for Posting

OK. Next trick is

SEO Blogger Tricks for Posting

seo-blogger-tricks-posting
SEO Blogger Tricks for Posting

Title


Choose your title best for reader and search engine. Don't give title that too long so reader and search engine not interested. Because long title equal to long URL. And in blogger that is cutted.
Just use KISS (Keep It Simple Stupid). If you're still confused just think what phrase that you type at google to find something.

Read the rest of this post »

Rabu, 11 Juli 2012

Starting SEO Blogger Tricks

Welcome to my SEO Blogger Tricks blog.

seo-blogger-tricks
SEO Blogger Tricks

This blog will share some beginner & advanced SEO blogger tricks, and maybe some secret SEO blogger tricks.

I am gonna start it with some beginner SEO blogger tricks.

Read the rest of this post »

Kamis, 07 Juni 2012

Two New Data types in ANSI C++

The ISO/ANSI C++ adds two new Data types in C++.(1) bool ,(2) Wchar.

1. BOOL
                the dat type BOOL stands for boolean(true or false).the value true and false has been added to keyword set of  C++.It can be declared as follows:
bool b1;     // on different line
b1 = true;

OR

bool b2 = true; //on same line

default numeric value of  TRUE  is '1' and FALSE is '0'.
for example:
 cout < < "b1=" < < b1; 
will display:1.
we can also use TRUE and FALSE as value. for example
 int x = true + true ;
Will assign 2 to the variable X


2.WCHAR

WCHAR stands for wide character.It is used to represent 16-bit character,such as some japanese.you can declare wchare as follows
 wchar_t wh[]=L"hello"
cout < < wh ;
will output hexa decimal code for it. to print string on screen type
wcout < < wh; 
Protected by Copyscape Web Plagiarism Detector

See Also:

Xbox , minesweeper game , mozilla Firefox , gift , Christmas, fashion world

Senin, 04 Juni 2012

How to Create Drop Caps (Big First Letters) in Blogger/Blogspot

Here's another way to customize your Blog. In this case, your Posts and Comment's first letter. The effect is a large first letter stretching down three or four lines with the text wrapped around. The drop cap letter can also use a different font and have a different color from the rest of the text. This style can be often seen in newspapers, literature, magazines. So, in this tutorial I will show you how to apply automatically a Magazine text style on Blogger Posts and Comments. Let's start adding it...

-> Add Drop Caps For Blogger Posts

drop caps, blogger blogspot, tutorials

-> Add Drop Caps For Blogger Comments

drop caps, first letter, blogger

Big First Letter for your Blogger / Blogspot Posts


Step 1. From your Blogger Dashboard, go to Template and click on the Edit HTML button:


Step 2. Click anywhere inside the code area and press the CTRL + F keys to open the Blogger' search box. Type this piece of code inside the search box then hit Enter to find it:
]]></b:skin>
Note: you might need to click on the arrow next to it to expand the code within and then you need to search ]]></b:skin> one more time.

Step 3. Just above ]]></b:skin>, add the following CSS code:
.capital:first-letter {
float: left;
display: block;
font-family: Times, serif, Georgia;
font-size: 40px;
color: #000000;
margin:0px 5px 0 0;
padding:0 0 0 10px;
}
Color - change the value in blue with the hex of your color
Size - to change the letter size, increase/decrease the value highlighted in pink.

Step 4. Now search for this code:
<data:post.body/>
Step 5. Then immediately before and after add the red fragments you see in the example below:
 <div class='capital'><data:post.body/></div>
Step 6. Save the changes by clicking on the Save template button.

Important! If the above code is not working, add one of following codes from this example:
<p class="capital"><data:post.body/></p>
Or try this instead:
<span class="capital"><data:post.body/></span>

Big First Letter For Blogger/Blogspot Comments

Step 1. Log in to your Blogger account > go to Template > Edit HTML > click anywhere inside the code area and press CTRL + F keys to open the search box

Step 2. Type the following piece of code inside the search box and hit Enter to find it (if you have already added this code, skip step 2 & 3):
]]></b:skin>
Step 3. Add the following code just above ]]></b:skin>:
.capital:first-letter {
float: left;
display: block;
font-family: Times, serif, Georgia;
font-size: 40px;
color: #000000;
margin:0px 5px 0 0;
padding:0 0 0 10px;
}
Color - to change the letter color, replace the value in blue with the value of your color. Here's a tool that might help you to find the hex of the color that you need: Color Code Generator
Size - to change the letter size, change the value in pink.

Step 4. Then Search for this piece of code:
<data:comment.body/>
Step 5. Add the red codes before and after <data:comment.body/> as you can see in my example below:
<p class="capital"><data:comment.body/></p>
Step 6. Save your Template.

That's it! Now you have a cool drop cap first letter on your blog. If you have any question, leave a comment below!

Sabtu, 02 Juni 2012

Numbered comments on threaded comments for Blogger/Blogspot

In a previous tutorial you've seen how you can add numbered comments to your blogger blog, unfortunately, this trick worked only for those who don't have the reply option and are still using the old blogger commenting system. But we won't have any problem this time because this tutorial will show you how to add numbered comments with comment bubbles on the threaded comments, as well ;)

What the following CSS trick will do for you:
  1. When the general block of comments is initiating (.comments-content) a counter called countcomments activates and starts with an initial value of 1. 
  2. Then, each time the code flow goes through a review of any level, either the original comment or a reply (.comment-thread li), it will bring us in front (:before) of the comment's body the number that is the counter.
  3. Finally, this is incremented in the counter (counter-increment).
See the screenshot:
count comments, comment bubble, forum, blogger

Isn't that great? I'm pretty sure many of you have been waiting for this cool trick. So, let's begin applying it for our threaded commenting system.

Steps to add bubble comments count

Step 1: From your Blogger Dashboard, go to Template and click on the Edit HTML button:

    ... click anywhere inside the code area and press CTRL + F to open the Blogger' search box.

    Step 2: Type the following tag inside the search box and hit Enter to find it:
    ]]></b:skin>
    Note. you have to click on the arrow next to it, then search the ]]></b:skin> one more time 

    Step 3: Add the following code just above ]]></b:skin>:
    .comment-thread ol {
    counter-reset: countcomments;
    }
    .comment-thread li:before {
    content: counter(countcomments,decimal);
    counter-increment: countcomments;
    float: right;
    z-index: 2;
    position:relative;
    font-size: 22px;
    color: #555555;
    padding-left:10px; 
    padding-top:3px; 
    background: url(
    https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiS2K-09eQhSYcke50BGZeFncu6Ihvnufq0QWNV7-81nzqYa49lyfRGuXEqx6Ozv8Tmx1tBu11xH0nwdmdmSo8w0WB9a_h9ssoPCgwVrun5Wh1-qz5wY88741fvfWgrFYQ3ClUqv9s2OY8c/s1600/comment+bubble2.png) no-repeat;
    margin-top:7px; 
    margin-left:10px; 
    width: 50px; /*image-width size*/
    height: 48px; /*image-height size*/ 

    }
    .comment-thread ol ol {
    counter-reset: contrebasse;
    }
    .comment-thread li li:before {
    content: counter(countcomments,decimal) "." counter(contrebasse,lower-latin);
    counter-increment: contrebasse;
    float: right;
    font-size: 18px;
    color: #666666;
    }
    Note:
    • if you want to have no bubble icon, remove the code in red (including the address in blue)
    • to change the comment bubble, replace the code in blue with the URL address of your own icon. If you're not sure what icon you should use, you can find some cool icons in my previous posts (see these tutorials here and here)
    • to change the position of comments count, increase/decrease the values (3 & 10) from padding-top and padding-left
    • to change the position of comments bubble/icon, change the values (10 & 7) from margin-left and margin-top
    Step 4: Now Save the Template and you're done!

    If you enjoy reading this blog, please share and subscribe. For any questions you may have, leave a comment below.

    Jumat, 01 Juni 2012

    How to add “Email Subscription Form” to Blogger Blogspot

    email subscription form, blogger blogspot, gadgets
    When you are providing useful information in your blog, then many times some readers will need to get the latest updates from your blog. For that purpose, you need an Email Subscription Form in your blog, so that the interested visitors can easily get the latest updates.

    Related: How to Burn Blogger RSS Feeds at Feedburner

    To add email or Feed Subscription Form to your blogger blog (blogspot) is very easy.
    Just follow the next steps:

    1. Log in to Blogger, then go to Layout > click on "Add a Gadget" link:


     2. From the pop-up window, scroll down and click on the "HTML/JavaScript" gadget:


     3. Paste the following code inside the empty box:
    <style>
    .hl-email{
    background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVH0inqFHN3CuO3LSa-MZjwpPGVitXspxVGu8bwpyI49Ji-CX5E9W84vcZC9w8wGKEopN6g5WSv20ZRd4e1bDw0N9K2AuBwomxCMa3iPdHzIPX4u1BEcVj02jkXU0ZYrngurVZQgDBslk/s1600/mail.png) no-repeat 0px 12px ;
    width:300px;
    padding:10px 0 0 55px;
    float:left;
    font-size:1.4em;
    font-weight:bold;
    margin:0 0 10px 0;
    color:#686B6C;
    }
    .hl-emailsubmit{
    background:#9B9895;
    cursor:pointer;
    color:#fff;
    border:none;
    padding:3px;
    text-shadow:0 -1px 1px rgba(0,0,0,0.25);
    -moz-border-radius:6px;
    -webkit-border-radius:6px;
    border-radius:6px;
    font:12px sans-serif;
    }
    .hl-emailsubmit:hover{
    background:#E98313;
    }
    .textarea{
    padding:2px;
    margin:6px 2px 6px 2px;
    background:#f9f9f9;
    border:1px solid #ccc;
    resize:none;
    box-shadow:inset 1px 1px 1px rgba(0,0,0,0.1);
    -moz-box-shadow:inset 1px 1px 1px rgba(0,0,0,0.1);
    -webkit-box-shadow:inset 1px 1px 1px rgba(0,0,0,0.1); font-size:13px;
    width:130px;
    color:#666;}
    </style>
    <div class="hl-email">
    Subscribe via Email <form action="http://feedburner.google.com/fb/a/mailverify" id="feedform" method="post" target="popupwindow" onsubmit="window.open('http://feedburner.google.com/fb/a/mailverify?uri=helplogger', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true">
    <input gtbfieldid="3" class="textarea" name="email" onblur="if (this.value == &quot;&quot;) {this.value = &quot;Enter email address here&quot;;}" onfocus="if (this.value == &quot;Enter email address here&quot;) {this.value = &quot;&quot;;}" value="Enter email address here" type="text" />
    <input type="hidden" value="helplogger" name="uri"/><input type="hidden" name="loc" value="en_US"/>
    <input class="hl-emailsubmit" value="Submit" type="submit" />
    </form>
    </div>

    Settings 
    - Replace the url address in green to change the email icon
    - To change the width or the text area, increase/decrease the 130px value in red
    - replace http://feedburner.google.com/fb/a/mailverify?uri=helplogger with your Feedburner Email Feed link. You can get it by visiting your feedburner account then navigate to "Publicize" and then to "Email Subscriptions".
    - Replace helplogger with your feed title. It appears at the end of your feed link. In my case it is http://feedburner.google.com/fb/a/mailverify?uri=helplogger

    4. Now Save your widget and check your blog. Enjoy!

    Kamis, 31 Mei 2012

    Add Floating Social Media Sharing Buttons To Blogger

    The Floating Social Media Sharing is a very popular widget on all the top blogs and this is one of the ways to increase the number of times your posts get shared on Twitter, Facebook and other social networks.

    This floating social bar has the following options: Facebook Like, StumbleUpon, Twitter Share, Digg This, Google+ and each of them comes with a live counter. You can add more sharing buttons or social bookmarking icons later if you want.

    Blogger, WordPress, Facebook, Share

    How to add the scrolling social bookmarking bar


    Step 1. Log in to your Blogger Dashboard, select your blog and go to Layout 

    Step 2. Click on Add A Gadget link


    Step 3. From the pop-up window, scroll down and select HTML/Javascript 

    Step 4. Copy the code below and paste it inside the empty box.

    Step 5. Save the gadget.

    The code to copy-paste (updated!):
    <style type="text/css">
    #social-buttons {
    position:fixed;
    bottom:15%
    margin-left:-721px;
    float:left;
    border-radius:5px;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    background-color:#fff;
    padding:0 0 2px 0;
    z-index:10;
    }
    #social-buttons .button-share {
    float:left;
    clear:both;
    margin:5px 5px 0 2px;
    }
    </style>
    <div id='social-buttons' title="Get this from helplogger.blogspot.com">
    <div class='button-share' id='like' style='margin-left:7px;'>
    <div id="fb-root"></div>
    <script>(function(d, s, id) {
      var js, fjs = d.getElementsByTagName(s)[0];
      if (d.getElementById(id)) return;
      js = d.createElement(s); js.id = id;
      js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
      fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));</script>
    <div class="fb-like" data-send="false" data-layout="box_count" data-width="40" data-show-faces="false"></div>
    </div>
    <br /><div class='sbutton' style="margin-left: 2px;" ><a class='twitter-share-button' data-count='vertical' data-via='Helplogger' expr:data-counturl='data:blog.url' href='http://twitter.com/share' rel='nofollow'>Tweet</a><script src='http://platform.twitter.com/widgets.js'; type='text/javascript'></script>
    <br />
    <div class='button-share' style="margin-left: 3px;" id='su'>
    <script src="http://www.stumbleupon.com/hostedbadge.php?s=5"></script>
    </div>
    <div class='button-share' id='digg' style='margin-left:3px;width:48px'>
    <script src='http://widgets.digg.com/buttons.js' type='text/javascript'></script>
    <a class="DiggThisButton DiggMedium"></a>
    </div>
    <div class='button-share' style='margin-left:3px;' id='gplusone'>
    <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
    <g:plusone size="tall"></g:plusone>
    </div>
    <div style="clear: both;font-size: 9px;text-align:center;">Get <a style="color: #3399BB;" href="http://helplogger.blogspot.com/">widget</a></div></div></div>
    Customization:
    • Vertical alignment - Change the 15% value of bottom. The code positions the social bar relative to the bottom of your browser window. To fix the distance even when window is resized, specify the value in px (pixels) instead of %.
    • Horizontal alignment - Change the -721px value from margin-left. Negative value pushes the button to the left of the main blog column, positive value pushes it to the right. Increase or decrease the value based on your needs.
    • Twitter setting - Replace Helplogger with your Twitter username
    • Replacing and removing buttons - You can replace existing buttons with your own. Each button is represented by this code:
    <div class='sbutton'> BUTTON CODE HERE </div>
      Enjoy!!! :)

      Create A Rollover Image Effect (change image on mouseover)

      The Rollover effect is one in which an image web object changes (swaps itself) on mouse over to another web object (called rollovers) and reverts back to the original image on mouse out. Rollover images are preloaded into the page when it is loading, this ensures that the rollovers are displayed quickly. The onMouseOver and onMouseOut attributes of the link tag are used to make this functional.

      Demo:  Place your mouse over the image below to see its rollover effect


      Making Rollover Effect Image

      You have the following code:

      <a href="URL ADDRESS"><img src="URL OF THE FIRST IMAGE GOES HERE" onmouseover="this.src='URL OF THE SECOND IMAGE GOES HERE'" onmouseout="this.src='URL OF THE FIRST IMAGE GOES HERE'" /></a>

      Change the colored texts as it follows:

      1. URL ADDRESS

      This is the address where somebody will be sent when clicks on the image.
      Example, my blog address: http://www.helplogger.blogspot.com

      2. URL OF THE FIRST IMAGE GOES HERE

      Replace the orange text (two times) with the URL address of the image which will appear before you hover over it.

      3. URL OF THE SECOND IMAGE GOES HERE
      Replace the text in blue with the url of  the image that will appear when the cursor hovers over it.

      Now you can paste your image inside a blog gadget, going to Layout > click on Add a Gadget link (right side) > Select HTML/JavaScript from the pop-up window, then add it to your sidebar.

      You can also add it inside your post by going to New Post > Switch to HTML tab and then paste the code in the empty box.

      That's it. Enjoy ;)

      Sabtu, 12 Mei 2012

      Add Facemoods Emoticons To Your Blogger Comments

      Here are some amazingly funny emoticons compatible with your Blogger comments - also with threaded commenting system! If you want to know how to add them, just follow the next steps:

      emoticons, smileys, blogger, tricks

      Step 1. From your Blogger Dashboard, go to Template and click the Edit HTML button


      ...click anywhere inside the code area and press CTRL + F to open the search box:

      Step 2. Type or paste one of the below lines inside the search box, then hit Enter in order to find it:

      • For previous commenting system: 
      <h4 id='comment-post-message'><data:postCommentMsg/></h4>
      • For threaded comments:
      <div class='post-footer-line post-footer-line-3'>

      Step 3. Add the below code just above it

      (for threaded comments, add the code after):
      <b:if cond='data:blog.pageType == "item"'>
      <div style=' width: 450px; text-align: left; border: 1px dashed #0084ce; background: transparent; padding: 10px; color:#000000; font-weight:bold; '>
      <img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRKmIMRk6AElcbmR1nva5YYvMz4H3gGAaO9XlLY8WQFEQn64J7kHVqe-KQAEGQnwLvMHomSaQCfNpkTKxWWVvQeWoPtTlDp4UWB5dAlvTRYOr9D2KmnRPMkLJc0RwM9FjGGt010dKNlNcI/s1600/helplogger.blogspot.com(1).gif'/> :a
      &#160;
      <img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimeVEENqFaz8KzdFb3EVjUcJaUDYKr94WVK-AiuUsrG9fG2H7VwkjOIKB3B9r2TImdcvJNikWkeD1jN9LuAWMY7e83IfMW7wNB29eQofQ2HLuqaSljp0pp_cg5jjvTL499jxMl84VFZzH4/s1600/helplogger.blogspot.com+(2).gif'/> :b
      &#160;
      <img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0eO4tYn6XB4ECgjkpJM0PgJDQGY1-wj5OPQcfMSdRnEo5oI03rjOXRMDKsBJc7c403Wsn0ryLTd3NzgFZgTb5fk_GSJxNvZEyUwUgPMbQRdrVoW1XvnVS4CbIXRuu8ZxngCGloh5toQ5J/s1600/helplogger.blogspot.com(3).gif'/> :c
      &#160;
      <img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3Zd8uiJ4uJp7xJabu3xyULjrrCMNb8QtyZLGeKV7pZcgc4ncc9QR50FEbADFYItNmhKA2v2xoL3uOie3m4muuExTbnXznqj2-_VWb0nd-RXR_kSRk4EBZ-jm48iVz8VHAmUMx72nEVddi/s1600/helplogger.blogspot.com(4).gif'/> :d
      &#160;
      <img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHo3dsmukOvntpb5fOn5XHSboUoTosybsrnmaCYN6VBuuYKEZesmW9QtmYhzvSnPrWGR_L_TFix8vZuueCKyQ57wbOJYMcQtKxxPIb9zMjiD7tk_k3IfUQJom2-hJmgz4Vcv_FqWw9oEPC/s1600/helplogger.blogspot.com(5).gif'/> :e
      &#160;
      <img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4y83j_7OdP8Gj5BWPQzxaB1ZY_iGRMIaF3utnGQdS3nEQBeHTSQinYuem8j3KEnxjZA4uPJLKjNoI8vsb8jgTo9JDb3AkvTmdZXw6Cz8L8GyJCwTtPQyGW0ek39E8L5C2FAga5DKzh9ZN/s1600/helplogger.blogspot.com(6).gif'/> :f
      &#160;
      <img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhg5SA2cKeYjPJT4DuGtqfj-btuDvIPKX8gPn4DJ5wiMYpf_FlFuAfjcEDHVvWvg2abWbXvHtJdm5_7q_96RfhlC9bWEdWR6CMOmBtksq8ngp7cRh6UmANNZFTC6WWOjqXEndY4AO0o4-1b/s1600/helplogger.blogspot.com(7).gif'/> :g
      &#160;
      <img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPwmkdFMlfIj_8kM5p323hUcJ7qMjzHytn2_-AyeDOXL5RpOI-cOx8oxzoREdvv1n9VDz_ogbGqe5ZEjt0cdw_cU-6WLkVN2MRrmkWA4sEcSNRkBnIrVTUf8K40gMz46Vdy8fwKG0MbKMc/s1600/helplogger.blogspot.com(8).gif'/> :h
      &#160;
      <img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhpz6mHvhO1kfEaDn2C0lciGdv77l1E2Vjb90QT09P-Pfu1gzbdLt6za_M9mkxNRjC9NQHU57eDDGj0X1e5inVJ36b-m0kmunuFjAbjCluCXyxYf_bBIGLjZLwitLvbeMzGo7EVkxU3ilp/s1600/helplogger.blogspot.com(9).gif'/> :i
      &#160;
      <img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjliopIWfrIoQJok5VCdUxXaTR5VkGSknMEAMaxwBt9IqCPrAqxQVh7jnyaq2X4Q5tYIX6lBiBvb1YsKGtiVDSCjUAjgGXc7nHtVtW82Se6EB1hwNI5UjcwsovF3Lh0pUpwxlHNZ5GxO96n/s1600/helplogger.blogspot.com(10).gif'/> :j
      &#160;
      <img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEint1RsPadW-bHrKblxJHinv56LdlsV4PVGbRq3fScOSR3zrFSGdpbTCD-hWDz0trE4aBMB19m0NNonR5oUzMfmmAoTh2O381PyDKPTiEZ_AnUlutzcIbq-PKAXpucrOQoVCaBHnJa_MA0e/s1600/helplogger.blogspot.com(11).gif'/> :k
      &#160;
      <img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoElz4kUPgF1hxgs6Rq9P_x3ijbx5N5EiRjvp02lA7-wGY0CW3roWoBrXC1NlCC5bOHg8Pr01k56Tqa1b-Usj_36K7_-hEXYTxBGZGJ9IH-vK21ceokshaoh9GWo7V570wYGjT2OdbRrg4/s1600/helplogger.blogspot.com(12).gif'/> :l
      &#160;
      <img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4Iu0vfRtnbE0kgPtT-lezoB9sotflExwUq1y247fwLhTmGvVPhJBZJjZQZbP9UUf7nmPgmPsMQ0IMXyvnYM_tuZ1qGn65RijW0kzsMqYdH9v86URlypJpQJklARGEcbayYSV4l96MVvTL/s1600/helplogger.blogspot.com(13).gif'/> :m
      &#160;
      <img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIXzLXsYQQ0AA1p2XvG5Edz7hWL5xOSVF0KV9zW-6nfXT49QXXToz_I09A8cuucGwF8lR9AZ216XVAG3kFaxBSmMmtCsDKuFngYBwK-XflGgBWWIN6dIHKuxTlpebPEdwsJkNkIlH6QoOV/s1600/helplogger.blogspot.com(15).gif'/> :n
      &#160;
      <img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNoYcjNqLhBo06uV-A9T6Hj2lu-wjPnzGM4cwXiRGzN0xcCS11PVBC1Hd3A69iIb3imOHwDPHkRKq_1UwZs-PNMu3QDMadfHaB8ei11cBP4w6Lhq2QRDYy1N2x0997uqVo1ljczE784KPb/s1600/helplogger.blogspot.com(16).gif'/> :o
      &#160;
      <img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNWlV7RqqkJinX1ieEcwNgIAuicT7pIopR-U1zZ4RqOeJ2lges5-WLPrFHT9WzLqch_B24xYsbkovUS7h_VZcZ-xXXHbPIPhU7zmyJARUZU7H_EqgKqitppHCjXViWKyeA9qLO2bKttXPr/s1600/helplogger.blogspot.com(14).gif'/> :p
      &#160;
      <img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFFaCfzoqjWc1TylbhxlvL-fOJgNfH0U1JhW_5T0ZUnEtO51wz0cpvxcC4TSltXh46CgXDdhoe6VNdRzbFDm9iUxnLiRXuI9Xqd1fUVO2gcxiU_FAP2akay2yeBK2RvMuRw5UY0YbchOHM/s1600/helplogger.blogspot.com(17).gif'/> :q
      &#160;
      <img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWbzFamh1k0uNssgFo8VHzE2qzcWM-ntsCesBPNSeP5a_iZWxtqrb728GGx00_9aXHVaqlwQreJdhbxBGKY4qEb4vj4HiLzE2X_2CJDM728x8jksrp3jF5VwySfyezKueGQGpDBBFBlmaV/s1600/helplogger.blogspot.com(18).gif'/> :r
      &#160;
      <img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQV9S8TPCu-BnIooHToEgRicQgv8UEU5GJwiXDaG1rUKVHgKs_mqpH6kVLRkAaH6oVxbdE6UZ9iDUIV45N-VHnAEFSnWkInW-JWZXuAtLIdsP2cSo_WBLOYE4-MAylVPK1rkLuvbLdLvVj/s1600/helplogger.blogspot.com(19).gif'/> :s
      &#160;
      <img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEggy4twHCro9CV2pgovofaPkcdXDN6JNoCN-rLe9943xwgd0i0cZf3aX6e88U6x5LzgW4ISH6gYkdCmQQw333HBkdn8zK-AYgAnCucd_lfsalAWOKrmBdl-IxoSP4X25HP5iySu6hKdoGVA/s1600/helplogger.blogspot.com(20).gif'/> :t   <a href='http://helplogger.blogspot.com/2012/05/add-facemoods-emoticons-to-your-blogger.html' style='color: rgb(30, 122, 183); font-size: x-small;'>Add smileys to Blogger + </a>
      </div></b:if>
      Step 4. Now search for this piece of code:
      </body>
      Step 5. And add the following code immediately above it:

      • For previous commenting system:
      <script type='text/javascript' src="http://helplogger.googlecode.com/svn/trunk/facemood emoticons.js"/>
      • For threaded comments: 
      <script type='text/javascript' src="http://helplogger.googlecode.com/svn/trunk/facemood emoticons threaded.js"/>
      Step 6. Save the Template and hopefully, now you can enjoy commenting by adding these cool emoticons.

      Sabtu, 05 Mei 2012

      How To Change Avatar Size In Blogger Comments

      This simple trick will help you modify the avatars size in Blogger comments whose default size is of 36px... pretty small considering that a lot of sites these days are using much larger avatars. To change the style and size of avatars is very easy - you just need to add the CSS code in your Blogger template that will make size of avatars to have width and height of 64px.


      Step 1. Go to Dashboard - Template - click on the Edit HTML button


      ...click anywhere inside the code area and press CTRL + F to open the blogger' search box

      Step 2. Type or paste this tag inside the search box and hit Enter to find it:
      ]]></b:skin>
      Note: you may need to click on the arrow next to it and then search this tag again

      Step 3. Depending on which comment system you use (with reply/no reply), copy and paste one of the following codes just above it:

      [Works in Blogger threaded comment system]
      .comments .avatar-image-container{
      background-color: rgb(34, 34, 34);
      border:1px solid #ccc;
      margin: 0px 10px 0px 0px;
      padding: 0px 0px 0px 0px;
      width: 64px;
      max-height: 64px;
      }
      .comments .avatar-image-container img{
      margin: 0px 0px 0px 0px;
      padding: 0px 0px 0px 0px;
      max-width: 64px;
      height: 64px;
      }
      [for old blogger commenting system]
      .avatar-image-container{
      border:1px solid #d6d6d6;
      margin-left: -30px;
      -moz-border-radius: 4px;
      background:#fff;
      height:70px;
      min-height: 70px;
      width:70px;
      min-width:70px;
      }
      .avatar-image-container img {
      background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCsNmaCTK6rEm2TnO5cqPcr7zMhRRZWv5UcgbIrvvHuXxDSTMCP6Z6S3LTD5AdDLIxy6dubcXe4EpLY03MFp6z7fIv4zJZIbqMZIRESCKksQYfZlQhyaPRfbrTJBScsp-Ml7TIgwL1XgQ/s200/anonymous.jpg);
      background-repeat: no-repeat;
      background-position: center;
      background-size: 100%;
      width:70px;
      min-width:70px;
      height:70px;
      min-height:70px;
      }
      Note: For bigger/smaller avatars, change the values in red. To change the anonymous avatar, replace the URLs in blue with your own. (works only for the old commenting system i.e. that has no reply option)

      Step 4. Cick on the Save template button to apply the changes.

      That's it. Now the Blogger comments avatars should look bigger.

      How to Hide Blogger Sidebar to Display AdSense For Search Results

      When visitors are searching for content on your blog, you have three options to display the search results: opening the results in the same window, in a new window or within your own site using an iframe.

      The best option would be, however, to display the search results within your own site/blog, mainly because you are not sending people off your blog when they are taken to a new page of search results which could be confusing for many because it doesn't look anything like your site or Google. Therefore, displaying the search results within your site, could make it look much more professional and may also increase the page views and the revenue from the ads on the search page.

      A problem that many bloggers are facing is that the page which displays the AdSense for search results must be at least of 800 px wide, so the posting area must be of minimum 800px and there's nothing like this in most of the blogs.
      So, what we will do in this tutorial is to set up the search results to be displayed in a static page (none of other posts or pages will be affected) in which we'll remove the sidebar so that we'll have enough space to make the post/page section of 800px wide. Moreover, we will create a static page designed only for the search results, then create a new AdSense for search in our AdSense account and finally add a small snippet of code top in your Blogger template to hide the sidebar in that specific page.

      Search results span the width of the page with the sidebar hidden:


      Display AdSense For Search Results Within Blogger Page

      Step 1. Create a new static page on your blog, you can give it the title 'Search Results' but leave the content section empty and then Publish the page.

      Step 2. When you publish the page you have the option to add the page to a menu, choose the third option 'No Gadget Link To Pages Manually' click 'Save and Publish'. In case this screen doesn't show, right click on View Page and select Copy Link Address. We will need this URL of the page later when we will create the AdSense for search.

      Step 3. Go To Your AdSense account, then go to My ads tab, select the Search option and Create a New custom search engine. Follow the steps until you come to the Search results option.

      Step 4. Select the 3rd method "on my website using an iframe", then Enter the URL of the page you created into the URL field and continue.


      Step 5. Follow the rest of the set up process and at the end you will be given two pieces of code. The first piece of code is for the actual search bar which you can paste into a Html/JavaScript gadget on your sidebar or wherever you want it. The second piece of code you need to copy and paste it into a new HTML/JavaScript gadget, click on Save, then drag it above the Blog Posts area


      Now that you have your page set up with the search results code and your search bar code in your sidebar, it is time to add a snippet of code to your template to remove the sidebar.

      Adding The Code In Blogger To Change the Results Page Layout

      Step 1. From Your Blogger Dashboard, go to Template and click on the Edit HTML button


      Step 2. Click anywhere inside the code area and press the CTRL + F keys to open the Blogger' search box

      Step 3. Find (CTRL + F) the following piece of code
      ]]></b:skin>
      Step 4. Just below it, paste this code:
      <b:if cond='data:blog.url == &quot;PAGE-URL-HERE&quot;'>
      <style>
      .main-inner .columns {
      padding-left: 0px !important;
      padding-right: 0px !important;
      }
      .main-inner .fauxcolumn-center-outer {
      left: 0px !important;
      right: 0px !important;
      }
      .main-inner .fauxcolumn-left-outer, .main-inner .fauxcolumn-right-outer, .main-inner .column-left-outer, .main-inner .column-right-outer {
      display: none !important;
      }
      </style>
      </b:if>

      Note: Replace PAGE-URL-HERE with the url of the page where the search results will be displayed (the one you have added at the step 4)

      Step 5. Now Save Template and you're done!

      This simple trick allows you not only to hide the sidebar in the search results page, you can as well, hide it on any page you want... just create your page and follow the same steps. It is also recommended to hide the sidebar in Privacy Policy Pages, Contact Pages and on all the non-content-based pages with little content or no content at all.

      Show Blogger Image only in Homepage and Hide it in Post Page


      To hide images/pictures from blogger posts and make them appear only in homepage, we will add just a small piece of CSS code in our template and then use the class "hidepic" each time we want to hide an image.

      Just follow the next steps:

      Step 1. Go to Dashboard - Template - Edit HTML


       Step 2. Click anywhere inside the code area and press the CTRL + F keys to open the search box:

       Step 3. Type or paste this code inside the search box then hit Enter to find it:
      ]]></b:skin>
      Step 4. Paste the following code just below it
      <b:if cond='data:blog.pageType != &quot;index&quot;'>
      <style>
      .hidepic{
      display: none;
      }
      </style>
      </b:if>
      Step 5. Save the Template.

      Now, each time you create a post, first add the picture that you want to hide and then switch to the HTML tab where you'll see the HTML code of the image that you added - it will look something like this:
      <div class="separator" style="clear: both; text-align: center;">
      <a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZV4vz4dScr9t0dt0PqgZr199wJLLm7UVEjzecgXoZE7eEorDXS6DCtjATz06oE_xWeeiSvt4krYYC07Ros_1UTf3PMaubGy7KQzokD6onJuYGu0dYlR43otmdufVpnwhOr7ajCthyphenhyphenMSw/s1600/fire_bird_by_fhrankee-d32af8v.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZV4vz4dScr9t0dt0PqgZr199wJLLm7UVEjzecgXoZE7eEorDXS6DCtjATz06oE_xWeeiSvt4krYYC07Ros_1UTf3PMaubGy7KQzokD6onJuYGu0dYlR43otmdufVpnwhOr7ajCthyphenhyphenMSw/s320/fire_bird_by_fhrankee-d32af8v.png" width="320" /></a></div>

      Note: it should be at the exact location where your image has been added 
      (if the image is at the middle of the text, then the code should be found at the middle)

      Step 6. Replace "separator" with "hidepic" - see the screenshot below:

      If you need more help, please leave a comment below.