Get the latest updates from us for free

How To Add Lazy Page Loading Effect To Blogger?



If you have seen Google Dynamics View Theme for Blogger, then you might be aware of the fact that before the whole template gets exposed a Small Jquery loading ICON appears that literally stoles our all attention. For Example, you are thinking to play a PC game so before you could start playing you have to go through LOADING part. Similarly, we will insert a tremendous Jquery Loading Effect to our BlogSpot Blog so our visitors won’t see the images or content getting load instead we will show them a cute Jquery loading page that would literally amuse them. Today we will be enhancing our BlogSpot Blog with Jquery Loading Effect that would surly grab the attention of our readers.


        Features of MBL Lazy Page Loader:

  • It is search engine friendly so it will not affect your Site Speed or anything.
  • It is compatible with almost each and every browser i.e. Chrome, Firefox, Internet Explorer and etc.
  • It has multiple Loading effects so you can choose according to your desire needs.
  • It has flexible coding so you can customize it without any hesitation whatsoever.
  • It will also help those blogs which take less time to load because the loading features will keep your visitors interested in your blog.

         How To Install MBL Lazy Page Loading Effect To Blogger:

The steps are extremely straightforward and would hardly soak 5 minutes to complete the integration. Just do as mentioned below.
  • Go To Blogger.com >> Your Blog >> Template >> Edit HTML >> Proceed.
  • Now within the template Search For ]]></b:skin> and just above it Paste the following CSS coding.
/*  MBL Lazy Page Loading Effect (www.megabloggerlab.blogspot.com) */
#mbl-lazyloading {
    position: fixed;
    z-index: 50;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #FDFEF8 url(Loading-GIF-Here) no-repeat center;
    line-height: 350px;
    text-align: center;
    font-size: 36px;
    color: #353231;
    text-indent: -9999px;
}
.MD #mbl-lazyloading { display: none; }
@media only screen and (device-width: 768px) {
    #loading {
        position:absolute;
        width:1040px;
        min-height:768px;
    }
}
#mbl-progress-bar {
    position: absolute;
    top: 0; left: 0;
    background: #de1301;
    opacity: 0.8;
    width: 0;
    height: 18px;
}
#mbl-loader {
    height: 100%;
    display: none;
}
  • Now again within your template Search for </head> and just above it paste the following JavaScript Coding.
<script>
(function($){
$("html").removeClass("MD");

$("#header").ready(function(){ $("#mbl-progress-bar").stop().animate({ width: "25%" },1500) });
$("#footer").ready(function(){ $("#mbl-progress-bar").stop().animate({ width: "75%" },1500) });

$(window).load(function(){
    $("#mbl-progress-bar").stop().animate({ width: "100%" },600,function(){
        $("#mbl-lazyloading").fadeOut("fast",function(){ $(this).remove(); });
    });
});
})(jQuery);
</script>

Once again in your template Search for </body> and above it paste the following HTML code.

  • Paste this coding if you want to show This Loading effect only on your home page.(Recommended)
<b:if cond='data:blog.url == data:blog.homepageUrl'>
<div id='mbl-lazyloading'><div id='mbl-progress-bar'></div><div id='mbl-loader'>This Loading Effect is Powered By<a href="http://www.megabloggerlab.blogspot.com">MegaBloggerLab</a></div></div></b:if>
  • Paste the following coding if you want to see this loading effect on each and every page of your blog.
<div id='mbl-lazyloading'><div id='mbl-progress-bar'></div><div id='mbl-loader'>This Loading Effect is Powered By<a href="http://www.megabloggerlab.blogspot.com">MegaBloggerLab</a></div></div>

TIP: You have to choose whether you want to show the loading effect only on your homepage or on each and every page that is on your blog. According to us, you should keep this loading effect on your homepage because repeated loading effect might annoy visitors.

  • Now from the above CSS coding Replace Loading-GIF-Here with any of the following Animated loading effect that you like the most.

http://3.bp.blogspot.com/-hgW1sZ4FCuk/USbVH5o4yYI/AAAAAAAAAY0/k5srJjqAl70/s1600/MBL-Loading-1.gif

http://1.bp.blogspot.com/-MW_aWfPCHxc/USbVLOraGfI/AAAAAAAAAY8/r259x1VaNi8/s1600/MBL-Loading-2.gif


http://2.bp.blogspot.com/-PW-wG3avXJM/USbVLl13WyI/AAAAAAAAAZE/lQjMYzCxaos/s1600/MBL-Loading-3.gif


http://4.bp.blogspot.com/-RN7O1Yxuk4k/USbVLNb6P5I/AAAAAAAAAZI/e7GCfcqcPXU/s1600/MBL-loading-4.gif


http://3.bp.blogspot.com/-Zzl-EMv08uI/USbVNRHjG-I/AAAAAAAAAZU/7ODZ1iEUM-k/s1600/MBL-loading-5.gif

http://4.bp.blogspot.com/-ouq-p22A4gk/USbVOGxVMsI/AAAAAAAAAZc/nwGag70LfC0/s1600/MBL-loading-6.gif


All Done: That’s all go ahead save your template and now visit your blog’s homepage and feel the difference. Hope your visitors will love this thing because it will make your website more user-friendly.


From the Editor’s Desk:
Hope you have enjoyed this Premium hack we are pretty sure that this would certainly engage few readers. What do you think about this Lazy Loading Effect for Blogger? If you have any suggestion regarding it feel free to comment till then, peace, blessings and happy loading.

1 comments:

Umesh Tarsariya on 5 March 2013 at 18:24 said...

Hi Admin
Finally i found this tutorial, i was searching for this tutorial form long time. You have made a amazing widget i really appreciate your efforts i had subscribed your blog.
Regards,
Tips Via Blogging

Confused? Feel free to ask

 

Techies

Sponsors

Sponsors

Protection Status

Follow me on Google+

MyFreeCopyright.com Registered & Protected

Advertisements!

Advertisements!

Followers

Copyright © 2012 All Rights Reserved. Any Article on This Blog can not be repost or reproduce in any form without the permission of Author.