Just paste the below code just above </body> and then save the template that's all you are done :)
<style>
#abt-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/AVvXsEgOzcXoidbBde4jgpIzFAg_RwvfiMGTUvK5UNxCLYfycuppVSohC16YopKvuwnu26-fHQ8tKf-RYryvd4q-HdNt6oJiH0EGVOpMSBFSae734wqt-7LODD72iuHGHORzhqWuWyQpjH1e56w/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="abt-page-loader">Loading...</div>');
$(window).on("beforeunload", function() {
// ... Show the Animation `.fadeIn()`
$('#abt-page-loader').fadeIn(1000).delay(6000).fadeOut(1000);
});
//]]>
</script>
0 comments:
Post a Comment