Skip to main content

Add Awesome Page Loading Effect to Blogger Easily

animated page loading effectThis is one awesome stylish addition you can add to spice up your blog. I've added this animated page loading effect to my blog. You can see a demo here itself by clicking on any link inside the site. It’s gives a cool effect to your blog.
I guess you liked it on my blog. So here is how to add it to your blog.









How to add Page Loading Effect to your blog


  • Just navigate to Blogger Dashboard> Templates > Edit HTML
  • Now search for <head> and below code just below it. (OR search for </head> and paste below code above it)

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js" type="text/javascript"></script>
Note : You can skip the above step, if you’ve already added JQuery library to your blog.

  • Now search for </body> and add below code just above it.

<style>
#bloggslab-page-loader {
        position: fixed!important;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 9999;
        background:#000 url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgx1p3olE-rUfckDNbfbUZ17FX789r389uy7V4Gw28Z9r6P_Sr_ib1GDpcq59S9XGJHxAH9s0gkXIqf8I-XLqk4hGMQh69eSHcbadC7w2gl9oh2T4zIIxfTU6f7YvOeXEUZ80B5ifTgPTo/s200/load6.gif') no-repeat 50% 30%;
        color: #FFF;
        display: none;
        font: 0/0 a;
        text-shadow: none;
        padding: 1em 1.2em;
}
</style>
<script type='text/javascript'>
//<![CDATA[
$(document.body).append('<div id="bloggslab-page-loader">Loading...</div>');
$(window).on("beforeunload", function() {
    // ... Show the Animation `.fadeIn()`
    $('#bloggslab-page-loader').fadeIn(1000).delay(6000).fadeOut(1000);
});
//]]>
</script>
Okay, that’s it. now save your template and look at your blog. Oow!

Comments

Popular posts from this blog

Automatic Read More With Thumbnails for Blogger

Blogger gives us an option to add jump break to posts. It enables us to display a a short summary of the post on the homepage of our blog with a link to the full post. Most of us add jump break to our posts, because displaying a short summary instead of the full post on the main page has many advantages. The main reason is that it increases page views and the visitors can easily get a selection of your posts.

Responsive Recent Posts Slider Widget for Blogger

Here is one amazing responsive featured post slider for your blogs. This slider is Here i am with a fully automated featured posts slider for blogger blogs. This widget features a complete responsive design and is coded to fetch the most recent posts automatically from your blog. Yes i said fully automated, you only need to add your blog url in the code.

Design a Fancy Accordion Widget For Blogger

Accordion widgets are really helpful in organizing links in your blog. You can use it to list out popular posts in categories in the form of an expandable and collapsible menu. It is an effective and neat way of listing longs list of links.