All YOU Need

Adding QueryLoader (‘LazyLoad’) Script For Blogger And Customize It.

5/9/11 التسميات:

 http://www.allblogtools.com/imgup/2-2011/blogger-lazyload-QueryLoade.jpg


Hi all hear visitors, It’s been a long time since i wrote my latest tutorial here, and sure this is because working on our  new version which released last week, i wish you liked it all,
Today we are going to learn a new tutorial about how to apply the QueryLoader (LazyLoad) script for your blogspot blog.



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,
</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 = &quot;body&quot;;
 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.

___________________________________________________________________________
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.
Lazyload page for blogger blogs

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.

___________________________________________________________________________
Demo, Credits, And files.
This script originally coded by gayadesign.com and customized for blogger by me :-) , For a demo for this script please click here,
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 ( 139 hits )

source : http://www.allblogtools.com 


0 التعليقات:

Post a Comment

 
Free Tools © 2012 | Designed by My Blogger Themes |