What is the QueryLoader (LazyLoad).
QueryLoader is a blank black ( can be changed ) screen that covers your blog till all content loaded, which means that your visitors won’t see the actual loading of your blog, instead of that, they will see a loading page with a bar and percentage of the overall blog loading, it’s build using j-query and css. easy to apply to your blogger blog, and customize able.
Step 1, adding the jave files.
In this step we will add a scripts files to your blogger template.
Please navigate to your dashboard >> Design >> edit html , and please find the following code,
Please navigate to your dashboard >> Design >> edit html , and please find the following code,
</head>
And exactly before it add the following code
<script src='http://code.jquery.com/jquery-1.5.min.js' type='text/javascript'/>
<script src='http://blogger-loader.googlecode.com/files/queryLoaderpre.js' type='text/javascript'/>
Step 2, adding the jave Codes.
And on the same page, please find the following code,
</body>
And before it add the next code,
<script>
QueryLoader.selectorPreload = "body";
QueryLoader.init();
</script>
Step 3, adding the Css Codes.
now on the same page too, find this code,
]]></b:skin>
And before it , add this code,
.QOverlay {
background-color: #000000;
z-index: 9999;
}
.QLoader {
background-color: #CCCCCC;
height: 1px;
}
.QAmt {
color:#FF530D;
font-size:50px;
font-weight:bold;
line-height:50px;
height:50px;
width:100px;
margin:-60px 0 0 -50px;
}
now Click Save Template
And your blog now have the script installed and ready, click preview or view your blog to see the script in action.
And your blog now have the script installed and ready, click preview or view your blog to see the script in action.
Additional Step, Customize the colors.
Now this is an extra step and you can do it or not, as you like,
If you want to change the colors, you have to change values in the css code, “step 3″
Please look at the following image to know what what you should change to get your own style.
Please look at the following image to know what what you should change to get your own style.
If you wondering about how to get your own color codes, i think you should have a look at our amazing color codes tool here.
No comments:
Post a Comment