Saturday, 23 May 2015

// // Leave a Comment

How To Add a Cyber Pet On Your Blogger Sidebar

Peoples, especially children like pets. There are a couple of good options available for a blogger to add a cyber pet in their blogs. Cyber pets, Graphic pets or Clip Art pets are a specific type of virtual pet typically utilizing animated images which are placed on an adopter's site or managed through adoption site.

How To Add a Cyber Pet On Your Blogger Sidebar


In this post, I will show you how you can add a Cyber Pet in your blogger blog. It makes a blog look beautiful and more attracting. Follow the simple steps given below.

Add a Cyber Pet On Your Blogger Sidebar

Step 1 : Visit bunnyherolabs.com

Step 2 : Click on 'Cyber Pets' as shown below.

How To Add a Cyber Pet On Your Blogger Sidebar

Step 3 : Choose your pet and customize its color, name and give it a nickname.

How To Add a Cyber Pet On Your Blogger Sidebar

Step 4 : Now, choose 'other sites' and copy the given code.
How To Add a Cyber Pet On Your Blogger Sidebar

Step 5 : Now go to your blogger account and go to Layout and add a new gadget. 

Step 6 : Select 'HTML/Javascript' from the list of widgets and paste the copied code inside it.

Step 7 : Arrange the position of the new widget where you want it to appear. Save the arrangement and you are done.

That's all you have to do. I hope this tutorial helped you to add cyber pets on your blogger blog. Keep visiting for new posts and don't forget to share this with your friends circle.
Read More

Saturday, 16 May 2015

// // Leave a Comment

How To Install Google Fonts On Blogger Blog

Nowadays, people are not using the same fonts given by blogger. They just trying to customize their blog in every aspect and the font is one of them. We can easily use our desired fonts on our blog's titles and body content. You can easily host your fonts on a server by paying a decent amount. You can also use some free services like Google Fonts to make your blog's fonts beautiful.

How To Install Google Fonts On Blogger Blog


Google fonts is the largest font's inventory. It has thousands of different fonts and the implementation is also very easy. In this post, I will show you how can install a Google Font on your blogger blog. Follow the steps given below and start using the attractive Google Fonts on your blog without spending a penny.

How To Install Google Fonts On Blogger Blog

Step 1 : Go to Google Fonts and you will be able to see the free inventory of web fonts. Take your time and look for the best font for your requirement. You can write a sample text and see how it looks. 
How To Install Google Fonts On Blogger Blog

Step 2 : After selecting your favorite font style, click on 'Quick Use' button and proceed to next step.
How To Install Google Fonts On Blogger Blog


Step 3 : Now choose the size of the font according to the need of your blog. You can choose more than one options but this will decrease the page speed of your blog. There is also a page speed meter shown on the right part of the page. Try to be in the green part of it.

How To Install Google Fonts On Blogger Blog



Step 4 : Now scroll down the page and you will see a link. Copy the link in a notepad file and proceed to next step.

How To Install Google Fonts On Blogger Blog



Step 5 : Open your blogger account. Go to 'Template' and edit the template in HTML form. Search for </head> and paste the copied code just above it.
Remember, you have to put </link> after the copied text to close the <link> tag.


Step 6 : To use the font, you have to integrate it with your CSS
How To Install Google Fonts On Blogger Blog

1. If you want to implement it on your title, the you will use the following code-
    .post-title {font-family: 'FONT NAME'; } 

2. If you want to implement it on your post body, then you will use the following code-
   .post-body {font-family: 'FONT NAME'; }

3. If you don't want to implement the font style on a certain portion of your text, the use the following code - 
   <span style="font-family: FONT NAME;">Your-Text-Here</span>

After successfully going over the above steps, you will have your desired font style on your blog.

I hope this tutorial helped you to install your preferred font style on your blogger blog. If you faced any difficulty in using it, then feel free to ask in the comments below.
Read More

Sunday, 10 May 2015

// // Leave a Comment

How To Create A Beautiful Drop Down Menu In Blogger

Drop down menu is something that is very important in a blog, especially when the number of posts reaches in three figures. When total number of post crosses over 100 then it will became difficult for the readers to reach your older posts. They don't waste time in looking for older and older posts. This will decrease your page views and also increases your blog's bounce rate.

It is the duty of every blogger to make the content of a blog, easily reachable. The content should be categorized beautifully using labels and drop down menus. You can easily add labels while writing the post in blogger but, to create a drop down menu you have to make certain changes in your template.

How To Create A Beautiful Drop Down Menu In Blogger


In this post, I will show you how you can add a beautiful drop down in your blog and make your blog more clean and more professional. Follow the steps given below.

How To Create A Beautiful Drop Down Menu In Blogger

Step 1 : Open your bloggers account. Go to 'Template' and edit it in HTML form. Now using the keys Control+F, open the search box.

Step 2 : Search for ]]></b:skin>

Step 3 : Copy and paste the following code just above it.
             /*-------- Begin Drop Down Menu -------*/

#menubar {
    background-color: transparent;
    width: 840px;
    color: #424338;
        margin: 0px;
        padding: 0;
        position: relative;
        border-top:0px solid ##8C001A;
        height:35px;
}

#menus {
    margin: 0;
    padding: 0;
}

#menus ul {
    float: left;
    list-style: none;
    margin: 0;
    padding: 0;
}

#menus li {
    list-style: none;
    margin: 0;
    padding: 0;
        border-left:0px solid #1A6680;
        border-right:0px solid #1A6680;
        height:auto;
}
#menus li a, #menus li a:link, #menus li a:visited {
    color: #FFFFFF; /* This changes the text color of visited links. */
    display: block;
   font:normal 14px Arial, Tahoma, Helvetica, FreeSans, sans-serif;    margin: 5; 
           /* change margin value to 0 if you want no space between tabs */
           /* change 14 to another number to increase or reduce font size */
    padding: 9px 12px 10px 12px;
        text-decoration: none;
}

#menus li a:hover, #menus li a:active {
    background: #424338; /* This is the main menu background color when a user hovers. */
    color: #FFFFFF; /* This changes the text color. */
    display: block;
    text-decoration: none;
        margin: 0;
    padding: 9px 12px 10px 12px;      
}

#menus li {
    float: left;
    padding: 0;
}

#menus li ul {
    z-index: 9999;
    position: absolute;
    left: -999em;
    height: auto;
    width: 160px;
    margin: 0;
    padding: 0;
}

#menus li ul a {
    width: 140px;
}

#menus li ul ul {
    margin: -25px 0 0 160px;
}

#menus li:hover ul ul, #menus li:hover ul ul ul, #menus li.sfhover ul ul, #menus li.sfhover ul ul ul {
    left: -999em;
}

#menus li:hover ul, #menus li li:hover ul, #menus li li li:hover ul, #menus li.sfhover ul, #menus li

li.sfhover ul, #menus li li li.sfhover ul {
    left: auto;
}

#menus li:hover, #menus li.sfhover {
    position: static;
}

#menus li li a, #menus li li a:link, #menus li li a:visited {
    background: #424338; /* This is the background color for the drop down menu. */
    width: 120px;
    color: #FFFFFF; /* This changes the text color. */
    display: block;
    font:normal 14px Arial, Tahoma, Helvetica, FreeSans, sans-serif; 
               /* change 14 to another number to increase or reduce font size */
    margin: 0;
    padding: 9px 12px 10px 12px;
        text-decoration: none;
z-index:9999;
border-bottom:0px solid #1A6680;
}

#menus li li a:hover, #menusli li a:active {
    background: #424338; /* This is the background color for the drop down menu when a user hovers. */
    color: #FFFFFF; /* This changes the text color. */
    display: block;     margin: 0;
    padding: 9px 12px 10px 12px;
        text-decoration: none;
}

/*-------- End Drop Down Menu -------*/



Step 4 : Save the template.

Step 5 : Now before going to next part, you should learn some basics so that you can change and customize the drop down menu according to your need.

Now look at the following code given below.

<div id='menubar'>
    <ul id='menus'>
      <li><a href='LINK'>TabName1</a></li>
      <li><a href='LINK'>TabName2</a></li>
      <li><a href='LINK'>TabName3</a></li>
      <li><a href='LINK'>TabName4</a></li>
    </ul>
  </div>

This code will create a set of four horizontal menus naming TabName1 to TabName4. These are just simple horizontal menus with no drop down yet. Now to make a drop down in any of these menus, we have to add the following given below code inside it.
 <ul>
          <li><a href='LINK'>DropDownName1</a></li>
          <li><a href='LINK'>DropDownName2</a></li>
          <li><a href='LINK'>DropDownName3</a></li>
        </ul>

The above code adds three drop down menus named as DropDownName1 to DropDownName3. 

Now, combining the above two steps, the complete code will look like given below.

<div id='menubar'>
    <ul id='menus'>
         <li><a href='LINK'>DropDownName1</a></li>
         <li><a href='LINK'>DropDownName2</a></li>
         <li><a href='LINK'>DropDownName3</a></li>  
         <li><a href='LINK'>TabName4</a>
             <ul>
                <li><a href='LINK'>DropDownName1</a></li>
                <li><a href='LINK'>DropDownName2</a></li>
                <li><a href='LINK'>DropDownName3</a></li>
             </ul>
         </li>
    </ul>
  </div>

This code will create four horizontal menus and three sub menus under 'TabName4'. You can add as many as sub menu as you wish. 
Don't forget to replace the LINK with the URL of your post or labels.


Step 6 : Now, go to 'Layout' and add a new gadget. Select HTML/Javascript and copy and paste the above code in it and make required changes in it. Save the widget and you are done.


Congrats!! You have successfully added drop down menu in your blog. I hope this tutorial helped you to add drop down menus in your blog. If you faced any problem doing it, then feel free to ask below in the comments. 




Read More

Thursday, 7 May 2015

// // Leave a Comment

How To Replace Default Blogger Scrollbar With Custom WebKit Scrollbar

Scrollbar appears at the right side of any page and it helps the user to scroll up and down the page. We already knows about the scroll bar in a default blogger template. To have a good experience for the user, the scroll bar should be smooth. Although, the default scroll bar is good enough and working without any complaint but, adding a newly customized scroll bar makes your blog more attractive.

How To Replace Default Blogger Scrollbar With Custom WebKit Scrollbar


WebKit scrollbar provides you with a very beautiful and smooth working scroll bar. The scroll bar is user friendly and makes your blog more professional. In this post, I will show you how you can also implement WebKit scrollbar in your blog. Just follow these simple steps given below.

Replace Default Blogger Scrollbar with Custom WebKit Scrollbar

Step 1 : Open your blogger's dashbaord. Go to 'Template' and edit the template in HTML form.

How To Replace Default Blogger Scrollbar With Custom WebKit Scrollbar

Step 2 : Now click anywhere inside the code box and using the keys Control+F, open search box.

How To Replace Default Blogger Scrollbar With Custom WebKit Scrollbar


Step 3 : Search for ]]></b:skin>

Step 4 : Now paste the following code just above it.
             /* For the "inset" look only */
html {
    overflow: auto;
}
body {
    position: absolute;
    top: 20px;
    left: 20px;
    bottom: 20px;
    right: 20px;
    padding: 30px; 
    overflow-y: scroll;
    overflow-x: hidden;
}

/* Let's get this party started */
::-webkit-scrollbar {
    width: 12px;
}
/* Track */
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
    -webkit-border-radius: 10px;
    border-radius: 10px;
}
/* Handle */
::-webkit-scrollbar-thumb {
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: rgba(255,0,0,0.8); 
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5); 
}
::-webkit-scrollbar-thumb:window-inactive {
background: rgba(255,0,0,0.4); 
}


Step 5 : Save the template and that's it. You have successfully changed your default blogger scrollbar.

I hope this small tutorial helped you to add WebKit scrollbar in your blog. If you faced any problem then feel free to ask below in the comments.

Read More

Tuesday, 5 May 2015

// // Leave a Comment

How To Add a Forum To Your Blogger Blog

A forum is a platform where everyone can put their opinions, ask questions, reply to someone's query or just participate in a discussion. It is always good to have a forum in your website or blog. It gives your user a way to interact with you and other users of the same website. Also, they have more chances of getting their question answered.

Although, users can also interact through comments but, asking a question in a comment which is not related to that post, feels awkward. So a forum gives them the freedom to start a whole new conversation.

How To Add a Forum To Your Blogger Blog


Adding a forum in a blogger blog is a tough task. Blogger is a free platform so it lacks of so many features. But, we can still add a forum to our blog using Google Groups. Google Group provides you with a free forum with high flexibility. It's a free tool and you can customize it any time very easily. In this post, I will show how to add Google Group forum to your blog. Follow these steps carefully.

Add a Forum To Your Blogger Blog

Step 1 : First, you have to log in to your gmail account. Now, go to https://groups.google.com/forum/?fromgroups#!myforums and click on 'Create Group' as shown below.

How To Add a Forum To Your Blogger Blog

Step 2 : Now, you will see a form. Fill the the required details. All the points are explained below.

How To Add a Forum To Your Blogger Blog

Group name : Write a name for your new forum. It will be good to choose a name related to your subject. You can also rename it any time.

Group email address : A group email address will be created automatically according to the group name. For example, if you write "Marketing" in the group name then you will be provided with marketing@googlegroups.com as group email address.

Group description : Write a small description about your forum so that the visitor could understand about it.

Group's primary language : Select the language for your forum according to you. Most of the people select the English and it is by default selected English only.

Group type : This option you have to select according to your need. You will get four options i.e Email list, Q&A Forum, Web Forum, Collaborative inbox. Depending on your requirement , select the one out of four.

Basic permission : In this section, you have to decide the basic permissions about your forum which you want to give to your users.

Once you filled all the information correctly, click 'Create' button. Now your group is successfully created.


Step 3 :  Now open your blogger account. Go to Pages and create a new page. Edit the Page in HTML form.

How To Add a Forum To Your Blogger Blog

Step 4 : Now copy and paste the following code there.
             <iframe frameborder="0" height="1000px" id="forum_embed" scrolling="no"
src="javascript:void(0)" width="100%">
    <br />
</iframe>
<script type="text/javascript">
    document.getElementById("forum_embed").src =
        "https://groups.google.com/forum/embed/?place=forum/yourgroupname" +
        "&showsearch=true&showpopout=false&parenturl=" + encodeURIComponent(window.location.href);
</script>

Replace yourgroupname with the name of your group.


Step 5 : Publish the page and you are done with it.

Congrats !! You have successfully created and added a forum to your blog.

I hope this tutorial helped you to add forum to your blog/website. If you faced any difficulty in doing it, then feel free to ask in the comments below.

Read More

Saturday, 2 May 2015

// // Leave a Comment

How To Embed Powerpoint Presentation In Your Blog Post

You always try to write your content in the best way so that your users can get the most our of it. There are so many other ways by which you can improve your content quality. You can add Video, graphs, pictures etc. One of the similar method to give more information to your readers is to embed a power point presentation in your post. A power point presentation gives your readers so much information in a beautiful way and it also makes your blog more professional.

How To Embed Powerpoint Presentation In Your Blog Post


In this post, I will show you how to embed a PowerPoint presentation your blog post. Follow the steps given below carefully.

Add/Embed PowerPoint Presentation In Your Blog Post

Step 1 : First of all, you have to create a account at SlideShare. Go to https://www.slideshare.net/signup and fill some simple details. You can also sign up with your Facebook or Linkedln account. 

How To Embed Powerpoint Presentation In Your Blog Post

Step 2 : After successfully completing your sign up process, click on Upload button on the top right part of web page and upload your PowerPoint presentation.
Fill all the details of that presentation and make it public.

Step 3 : After uploading your presentation, go to 'My Uploads' section and select your uploaded PowerPoint.

How To Embed Powerpoint Presentation In Your Blog Post


Step 4 : Now, go to that file and click on share button. Now you will find more than 1 code. Copy the 'Embed' code as shown below.

How To Embed Powerpoint Presentation In Your Blog Post


Step 5 : Now go to your blogger account. Go to Post section and edit the post or create new post. Edit the post in HTML form and paste that code there.

How To Embed Powerpoint Presentation In Your Blog Post

Step 6 : Complete your post and publish it. That's it. You have successfully embed your PowerPoint presentation in your post.


I hope this tutorial helped you to embed your PowerPoint presentation in your blog's post. You have any problem using it then feel free to ask below in the comments.

Read More

Monday, 27 April 2015

// // Leave a Comment

How To Create Sticky Floating Widget In Blogger

A sticky floating widget is a widget which takes a fixed position in your blog. It's position does not depends or change on scrolling the page. It will float to the same position as your scroll up or down the web page.
This type of widgets are very useful and becoming in trends these days. People mostly use this feature in their subscription widget to increase their number of subscribers. You can also use it to show a news, notice or any product about your blog. Some people also use it in their ad to increase their earnings. Its depends on your choice of using this feature.

Create Sticky Floating Widget In Blogger


Note :
1. Google AdSense don't like their ads to be sticky. So they might ban your account.
2. Avoid adding to many floating widgets because it may annoy the users and also make other widgets less effective.

In this post, I will show you how you can make your widgets to be floating or sticky. Follow the steps given below carefully.

Create Sticky Floating Widgets In Blogger

Step 1 : First, you have to create a simple widget. Go to Layout>>Add a Gadget. Give a name for it. Here, I am using 'Sticky Floating Widget' as a example.

Step 2 : Now, go to Template>>Edit HTML.

Create Sticky Floating Widget In Blogger

Step 3 : Click anywhere inside the codes and using the keys Control+F, open the search box.
Create Sticky Floating Widget In Blogger


Step 4 : Search for </body> and paste the following code just above it.
             <script>
/*<![CDATA[*/
// Sticky Plugin
// =============
// Author: Kewal Dubey
(function($) {
    var defaults = {
            topSpacing: 0,
            bottomSpacing: 0,
            className: 'is-sticky',
            center: false
        },
        $window = $(window),
        $document = $(document),
        sticked = [],
        windowHeight = $window.height(),
        scroller = function() {
            var scrollTop = $window.scrollTop(),
                documentHeight = $document.height(),
                dwh = documentHeight - windowHeight,
                extra = (scrollTop > dwh) ? dwh - scrollTop : 0;
            for (var i = 0; i < sticked.length; i++) {
                var s = sticked[i],
                    elementTop = s.stickyWrapper.offset().top,
                    etse = elementTop - s.topSpacing - extra;
                if (scrollTop <= etse) {
                    if (s.currentTop !== null) {
                        s.stickyElement.css('position', '').css('top', '').removeClass(s.className);
                        s.currentTop = null;
                    }
                }
                else {
                    var newTop = documentHeight - s.elementHeight - s.topSpacing - s.bottomSpacing - scrollTop - extra;
                    if (newTop < 0) {
                        newTop = newTop + s.topSpacing;
                    } else {
                        newTop = s.topSpacing;
                    }
                    if (s.currentTop != newTop) {
                        s.stickyElement.css('position', 'fixed').css('top', newTop).addClass(s.className);
                        s.currentTop = newTop;
                    }
                }
            }
        },
        resizer = function() {
            windowHeight = $window.height();
        };
    // should be more efficient than using $window.scroll(scroller) and $window.resize(resizer):
    if (window.addEventListener) {
        window.addEventListener('scroll', scroller, false);
        window.addEventListener('resize', resizer, false);
    } else if (window.attachEvent) {
        window.attachEvent('onscroll', scroller);
        window.attachEvent('onresize', resizer);
    }
    $.fn.sticky = function(options) {
        var o = $.extend(defaults, options);
        return this.each(function() {
            var stickyElement = $(this);
            if (o.center)
                var centerElement = "margin-left:auto;margin-right:auto;";
            stickyId = stickyElement.attr('id');
            stickyElement
                .wrapAll('<div id="' + stickyId + 'StickyWrapper" style="' + centerElement + '"></div>')
                .css('width', stickyElement.width());
            var elementHeight = stickyElement.outerHeight(),
                stickyWrapper = stickyElement.parent();
            stickyWrapper
                .css('width', stickyElement.outerWidth())
                .css('height', elementHeight)
                .css('clear', stickyElement.css('clear'));
            sticked.push({
                topSpacing: o.topSpacing,
                bottomSpacing: o.bottomSpacing,
                stickyElement: stickyElement,
                currentTop: null,
                stickyWrapper: stickyWrapper,
                elementHeight: elementHeight,
                className: o.className
            });
        });
    };
})(jQuery);
/*]]>*/
</script>
<script type='text/javascript'>
   $(document).ready(function(){
    $("#mblfloater").sticky({topSpacing:0});
   });
 </script>

Step 5 : Now, search for name of your widget. Here , I am searching for 'Sticky Floating Widget'. Look for the code similar to shown below.

<b:widget id='HTML2' locked='false' title='Sticky Floating Widget' type='HTML'>
            <b:includable id='main'>
  <!-- only display title if it's non-empty -->
  <b:if cond='data:title != &quot;&quot;'>
    <h2 class='title'><data:title/></h2>
  </b:if>
  <div class='widget-content'>
    <data:content/>
  </div>
</b:includable>
          </b:widget>


Step 6 : Replace the above code with the code given below.
            <b:widget id='HTML2' locked='false' title='Sticky Floating Widget' type='HTML'>
            <b:includable id='main'>
<div id='mblfloater'>
  <!-- only display title if it's non-empty -->
  <b:if cond='data:title != &quot;&quot;'>
    <h2 class='title'><data:title/></h2>
  </b:if>
  <div class='widget-content'>
    <data:content/>
  </div>  </div>
</b:includable>
          </b:widget>


Step 7 : Save the template and you are done with it.

You have successfully created a floating widget for your blog.

I hope this tutorial helped you to create sticky floating widget for your blog. If you faced any problem in it then feel free to comment your problem below.
Read More

Tuesday, 21 April 2015

// // Leave a Comment

How To Embed Facebook Post In Your Blog's Post

Most of the time you have heard about adding a YouTube video in your blog sidebar or in the post. But, you may not know that you can also embed a Facebook post in your blog. This is a good way to show some more information on your post and it makes your blog to look more professional. Also, the user can directly like, comment or reply to that post without going to that particular Facebook page. But remember, you can only embed Facebook post which are public.

Embed Facebook Post In Your Blog's Post

In this post, I will show you how you can also start adding Facebook post in your content. Follow these simple steps given below.

Embed Facebook Post In Your Blog's Content

Step 1 : First you have to look for the public post which you want to embed in your blog. The post can be yours or any others. When you select it, look for the downward arrow to open options related to it.
Embed Facebook Post In Your Blog's Post

Step 2 : Click on 'Embed Post' and you will see a HTML code related to it. Copy that HTML code in a notepad file.

Embed Facebook Post In Your Blog's Post


Step 3 : Now, open your blogger account and go to 'Post' sections. Edit the post on which you want to embed this Facebook status. 

Step 4 : Edit that post in HTML form and paste the copied code there according to you.

Embed Facebook Post In Your Blog's Post


Step 5 : Now publish or update that post and you are done with it. Now, you will see that Facebook update on your post and it can be liked or commented directly form there. Below is a preview how it will look like in your blog.

Embed Facebook Post In Your Blog's Post



I hope this tutorial helped you to embed Facebook updates in your blog's post. If you face any problem then feel free to comment below or if you liked it then please share it.
Read More

Monday, 20 April 2015

// // Leave a Comment

How To Embed YouTube Videos In Your Blog's Background

You might wondered by seeing a YouTube video in the background of many blogs. It makes the blog more beautiful. Also, some bloggers uses this feature to give all information about the niche of their blog which could helps the readers to know whats inside the blog and they can decide whether to subscribe on it or not.

Embed YouTube Videos In Your Blog's Background

But, remember that sometimes this can increase your page loading time. Also, the video cannot be paused, so if the video is too long, then it will irritate the readers. There is a one more drawback that if the videos contains any add, then user will have to watch it and this will reduce your blog's reputation and traffic.

In this post, I will show you how you can embed a YouTube video on your blogs also. Just follow this guide and you will be doing it on your blog within minutes.

Embed YouTube Videos In Your Blog's Background

Step 1 : Open your blogger's dashbaord. Go to 'Template' and edit your template in HTML form.

Step 2 : Now open the search box by using the keys Control+F and search for </head>.

Step 3 : Just above </head>, copy and paste the following code given below.

             <script src='http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js' type='text/javascript'/>
<script type='text/javascript'>
//<![CDATA[
/* jQuery tubular plugin
|* by Sean McCambridge
|* http://www.seanmccambridge.com/tubular
|* Copyright 2012
|* licensed under the MIT License
|* Enjoy.
|*
|* Thanks,
|* Sean */
var videoWidth = 853;
var videoRatio = 16/9;
var defaultDiv = 'wrapper-video';
jQuery.fn.tubular = function(videoId,wrapperId) {
wrapperId = (typeof(wrapperId) == undefined) ? 'wrapper-video' : wrapperId;
t = setTimeout("resizePlayer()",1000);
jQuery('html,body').css('height','100%');
jQuery('body').prepend('<div id="yt-container" style="overflow: hidden; position: fixed; z-index: 1;"><div id="ytapiplayer">You need Flash player 8+ and JavaScript enabled to view this video.</div></div><div id="video-cover" style="position: fixed; width: 100%; height: 100%; z-index: 2;"></div>');
jQuery('#' + wrapperId).css({position: 'relative', 'z-index': 99});
var ytplayer = 0;
var pageWidth = 0;
var pageHeight = 0;
var videoHeight = videoWidth / videoRatio;
var duration;
var iframe = '<iframe id="myytplayer" width="' + videoWidth + '" height="' + videoHeight + '" src="http://www.youtube.com/embed/' + videoId + '?autoplay=1&controls=0&modestbranding=1&showinfo=0&hd=1&iv_load_policy=3&version=3&wmode=transparent&loop=1&playlist=' + videoId + '" frameborder="0" allowfullscreen></iframe>';
jQuery('#ytapiplayer').html(iframe);
jQuery(window).resize(function() {
resizePlayer();
});
return this;
}
function onYouTubePlayerReady(playerId) {
ytplayer = document.getElementById("myytplayer");
ytplayer.setPlaybackQuality('medium');
ytplayer.mute();
}
function resizePlayer() {
var newWidth = jQuery(window).width();
var newHeight = jQuery(window).height();
jQuery('#yt-container, #video-cover').width(newWidth).height(newHeight);
if (newHeight > newWidth / videoRatio) {
newWidth = newHeight * videoRatio;
}
jQuery('#myytplayer').width(newWidth).height(newWidth/videoRatio);
}
//]]>
</script>

<script type='text/javascript'>
//<![CDATA[
$().ready(function() {
$('body').tubular('81LLg23KM_w','wrapper-video');
});
//]]>
</script>


Step 4 : Now again search for <body> and just below it paste the following code given below.
             <div id='wrapper-video'>

Step 5 : Now search for </body> and just above it write </div> to end the above added tag.

Step 6 : Now replace 81LLg23KM_w with the YouTube video ID of your video.
You will find video ID in the URL of that video as shown in the below picture.

Embed YouTube Videos In Your Blog's Background

Here the highlighted text is the video id of that video.

Step 7 : Save the template and you are done with it.


I hope this tutorial helped you to embed YouTube videos in your blog's background. If you face any problem then feel free to ask below in comments.

Read More

Sunday, 19 April 2015

// // Leave a Comment

How To Hide Specific Posts From Homepage In Blogger

When you creates a new post, you will always see it under your homepage, no matters which labels you assigned to it. There can be any reason of hiding a specific post from your homepage. May be that post is outdated or no longer useful or it may also happen that you only wants that post to appear in labels.
Hide Specific Posts From Homepage In Blogger


In this post, I will show you 2 easy methods by which you can hide a specific post from homepage. Just follow the steps in these 2 methods.

Hide Specific Posts From Homepage In Blogger : Method 1

Step 1 : Open your blogger's dashboard. Now go to 'Template' and edit your template in HTML form.

Hide Specific Posts From Homepage In Blogger


Step 2 : Now click anywhere inside the codes and then using the keys Control+F, open the search box.

Hide Specific Posts From Homepage In Blogger


Step 3 : Now search for the following code given below.
             &lt;div class=&quot;date-outer&quot;&gt;


Step 4 : Now remove that code and paste the following code in place of it.
             &lt;div class=&quot;date-outer&quot;
    <b:if cond='data:blog.pageType == &quot;index&quot;'>
    <b:if cond='data:blog.searchQuery == &quot;&quot;'>
    <b:if cond='data:blog.searchLabel == &quot;&quot;'>
            <b:if cond='data:post.url == &quot;Your-Post-Link&quot;'> style=&#39;display:none;&#39;</b:if>
            <b:if cond='data:post.url == &quot;ANOTHER POST URL&quot;'> style=&#39;display:none;&#39;</b:if>
          </b:if>
          </b:if>
          </b:if>
       &gt;



Replace Your-Post-Link with the URL of the post which you want to hide.
To add more post to hide, simply add the following line and write your URL.
<b:if cond='data:post.url == &quot;Your-Post-Link&quot;'> 

Step 5 : Save the template and you are done.

Hide Specific Posts From Homepage In Blogger : Method 2

Step 1 : Repeat Step 1 and Step 2 from first method.

Step 2 : Search for ]]></b:skin>

Step 3 : Paste the following code just above it.
<style>
<b:if cond='data:blog.url == ... >
#post-1234567 {display:none}
</b:if>
<b:if cond='data:blog.searchLabel == ... >
#post-8903456 {display:none}
</b:if>

Step 4 : Now, replace 1234567 with the ID number of post that you want to hide from homepage.

Step 5 : Save the template and you are done.

I hope this tutorial helped you to hide any post from homepage. If you need any help then don't hesitate to comment below.
Read More

Saturday, 11 April 2015

// // Leave a Comment

How To Enable CommentLuv In Blogger

At present time, the commenting system of blogger is really bad. It has so many technical issues. Due to this, the interest of commentators is reduced and a blogger gets very few comments. You may have also noticed this that a WordPress blog normally have huge number of comments than a bloggers blog(for similar traffic blogs).

Enable CommentLuv In Blogger

There are many options available to change your current commenting system. One of the best commenting system I found on searching is CommentLuv. You may have also heard about it many times. You can use it on any blogging platform like Blogspot, WordPress, Tumblr etc. Its very easy to implement CommentLuv on your blog. In this post, I will show you how to enable CommentLuv in your blog also.

Enable CommentLuv In Your Blogger/Blogspot Blog

Enable CommentLuv on a blog is a simple process. It may seems confusing for some users, so please read and follow these steps carefully.

Step 1 : First, go to Intense Debate and register a account. Mark the option as shown in the below picture.

Enable CommentLuv In Blogger

Step 2 : After confirming your Email account, login to it and then enter your blog's URL and click Next Step.

Enable CommentLuv In Blogger

Step 3 : Select your blog's platform from the list shown to you.

Step 4 : Now, go to your bloggers dashbaord. Go to Template and download a backup of your template.

Click here to know how to make a backup of your template : http://www.myonlinedestination.com/2015/02/backup-your-blogger-template-in-simple.html


Step 5 : Now upload that template on Intense Debate and continue.

Enable CommentLuv In Blogger

Step 6 : Now you will see a html code. Select and copy the whole code in a notepad file.

Enable CommentLuv In Blogger

Step 7 : Now again open your blogger dashbaord. Go to 'Template' and click on Edit HTML. Now clear all the code inside it and paste the code copied from above step.

Step 8 : Save the template and you are done. You have successfully enabled CommentLuv on your blog.

I hope this tutorial helped you to enable CommentLuv in your blog but, if your still face any problem then please comment below.
Read More