Today we are going to learn a new tutorial about how to apply the QueryLoader (LazyLoad) script for your blogspot blog.
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'/>
</body>And before it add the next code,
<script> QueryLoader.selectorPreload = "body"; QueryLoader.init(); </script>
]]></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.
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.
In case you wanted to host the file in step 2 on your own server or any where else, you can download it here, Download ( 155 hits )
nhận xét
0 Responses to "Adding QueryLoader (‘LazyLoad’) Script For Blogger And Customize It."Đăng nhận xét