demo页面部分
html>
$(document).ready(function () {
$("body").queryLoader2({
barColor: "#111111",
backgroundColor: "#202020",
percentage: true,
barHeight: 30,
completeAnimation: "grow"
});
});
body{
background:url('images/body_bg.png') no-repeat #202020;
color: #777;
font-family: Arial;
}
h1{
font-size: 14px;
padding: 20px 5px;
}
img{
border-color: #888888 -moz-use-text-color #888888 #888888;
border-radius: 5px 5px 5px 5px;
border-style: solid none solid solid;
border-width: 1px medium 1px 1px;
box-shadow: 0 0 10px #CCCCCC;
}
Queryloader 2 to preload images for your website
下载地址