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.

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikckNqiFd0m9PkBK2ZAzSF3XoNOkfMMg_go-7ReCtqljWpUdggJOo4CXez1M3yyinZAsv3-WBrUpDeAokbuQUvCIw64K8PCXn4_E7gJzLXbEZtG5LyhbO5-MItIv44djrRdQaRG5hAUBIk/s1600/MBL-Loading-1.gif

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2N_PA0nwgenVaTG3hNYfBSWKwTOiVO5VbKoMBijMkfYC4cdmNdn9OYgKwxQnY-VxZem-RQtHJbLKXTGDIjyZGd0rPVOu-q1avqUh_jn0t_rzeRF3tsRvalj10PxWub6mzmk3qgI4e_82_/s1600/MBL-Loading-2.gif


https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2iz3ZSGjsTkigUmvR7c-cdveg6zyIGBaHKyVrXXUmxSlir5ioqceBPiTi9uqjKNS7R0ODxVaA-szjyoUlU0e_S-eV0bpk-l-p6ZTEUnz2Rjbrlf6CnWZtL7Nr5ty1aXe-m10L3UGxKdnM/s1600/MBL-Loading-3.gif


https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFBJGXNZ4kywX6wwi9lcL0FTnuqhGtC7EJqZUyJrJNWlTk9esfyowJhUC8HZjjL5eIrKtRcck64rh2utHZ2koto-Gek5FlcAhmN-j154KmPtUcC3yRAnYfA6D4cWtGTHkpl9ik3PVLT5Vo/s1600/MBL-loading-4.gif


https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZFvNHX2CH99x2DFT8nWCTMSPOUo6wTv6TgfhoptXJ4hHiydc6UltCNJbYFBokkuX8VcTTmIzBDPL1zDctFEeneY0NiAHG17mGPjDByWXaeiMf0H2GPitq2pv5iXVHXk24rqFIfnnfaSGV/s1600/MBL-loading-5.gif

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcuV83iH9y7xzYdfS0Znfv6kB1FoLdMsXeUyoU0yJkNlV3njjzgb2-bdEqIFhXtbcDI1hAbMLxbEFSS-_BImz53qmJOGbvO46T_ZHgNq2XNGLBaCPgPxLjqgRgkHJNjPudW5_pYQHvH6fh/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

Ping your blog, website, or RSS feed for Free

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.