< Buzzing or vibrating the login form using jquery Posted On May 15, 2012 : 0 comments << >> Simple div slideshow using jquery Posted On May 9, 2012 : 0 comments << >> Copy mysql column in varchar to type date Posted On May 3, 2012 : 0 comments << >> Enter only numbers inside a input field of a form using javascript Posted On May 1, 2012 : 0 comments << >> Slide in and out animate div vertically using jquery Posted On April 25, 2012 : 1 comment << >> Tag cloud using php, mysql and ajax with filter Posted On April 24, 2012 : 0 comments << >> Change webpage font color or background color from the user side using javascript Posted On April 19, 2012 : 0 comments << >> A single link that cycles through several webpage background color using javascript Posted On April 17, 2012 : 0 comments << >> Simple webpage redirection using perl script Posted On April 10, 2012 : 0 comments << >> Get ipaddress using perl script Posted On April 4, 2012 : 0 comments << >>

Image preloader using CSS

This Tutorial Has Been Viewed 2,175 Times.
VN:F [1.9.17_1161]
Rating: 7.0/10 (4 votes cast)

This is a simple tutorial which helps you to put a preloader similar to flash preloaders on your website :) interesting huh , just check out this simple tutorial of how to implement the same.Just needed to add some 5 lines of code using css and your image preloader is ready.This is very useful when your website uses high resolution images or bigger size images.

Now You can use larger images and show preloader first .

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Test</title>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="container">
<div id="loader">
<div id="top"></div>
</div>
<div id="content"></div>
</div>
</body>
</html>

Save it as preloader.html
You can use any image, just make it “large” … 120kb for example, and call it top.jpg. Last thing is loader.gif file. It can be any image.

CSS PART

* {margin:0; padding:0;}
div#container {width:770px; margin:0 auto;}
div#loader {background:url(loader.gif) center no-repeat;}
div#top {height:250px; background:url(top.jpg) no-repeat;}
div#content {height:550px; background-color:#3300FF;}

Save it as style.css

Special thanks to bwebi

VN:F [1.9.17_1161]
Rating: 7.0/10 (4 votes cast)

Image preloader using CSS, 7.0 out of 10 based on 4 ratings

Incoming search terms:





You will also be interested in ,

Tags: ,

Leave a Reply

Proudly designed by Mistonline.in.
Affordable Seo PackagesSeo BlogEdu Backlinks