May 07, 2021 jQuery
Although the network speed is very fast now, but because our website is more and more complex, sometimes open a large website will inevitably be slower, now users of the site experience is more and more demanding, when the page content load is slow, you need to use a beautiful loading progress bar to tell the user that there is content loading. This article filters through a number of beautiful jquery progress bar code footage for your reference to download, but let's first look at how the next simple progress bar effect is implemented with jquery?
To achieve the effect:
Progress bar implementation source code:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>jquery实现进度条</title>
<style>
.progressBar{width:200px;height:8px;border:1px solid #98AFB7;border-radius:5px;margin-top:10px;}
#bar{width:0px;height:8px;border-radius:5px;background:#5EC4EA;}
</style>
<script src="//libs.baidu.com/jquery/1.10.2/jquery.min.js" rel="external nofollow" ></script>
<script type="text/javascript">
function progressBar(){
//初始化js进度条
$("#bar").css("width","0px");
//进度条的速度,越小越快
var speed = 20;
bar = setInterval(function(){
nowWidth = parseInt($("#bar").width());
//宽度要不能大于进度条的总宽度
if(nowWidth<=200){
barWidth = (nowWidth + 1)+"px";
$("#bar").css("width",barWidth);
}else{
//进度条读满后,停止
clearInterval(bar);
}
},speed);
}
</script>
</head>
<body>
<input type="button" value="开始" onclick="progressBar()" />
<div class="progressBar"><div id="bar"></div></div>
</body>
</html>
Percentage Loader
A lightweight jQuery Progress Bar plug-in that presents the loading progress as a percentage, showing the size of the loaded content.
Point here to download the source code
A progress bar with a play pause button
Query with play pause button progress bar is a button that allows you to control whether the progress bar is paused or animated effects are played.
Point here to download the source code
Percentage progress bar animation
Point here to download the source code
The 3D stereoscopic progress bar loads animated effects
The 3D stereo progress bar load animation effect is a 3D stereo progress bar loading effect based on html5-css3.
Point here to download the source code
Star Wars level progress bar effects
The Star Wars jQuery Horizontal Progress Bar effect is a laser sword effect that uses a colored neon effect to mimic a Star Wars laser sword effect.
Point here to download the source code
jQuery circular progress bar countdown plug-in
Point here to download the source code
jQuery HTML5 SVG progress bar effect
jQuery HTML5 SVG Progress Bar Effect is a useful jQuery Progress Bar plug-in.
Point here to download the source code
Tip: Get more information about jQuery HTML5 SVG Progress Bar effects in the HTML5 SVG Lightweight jQuery Progress Bar Plug-in section of this site!
Web step process progress bar code
Point here to download the source code
Upload the progress bar animation code
Point here to download the source code
The scale jQuery progress bar can be customized
The customizable scale jQuery progress bar is a property that can customize the number, size, color, and so on of the progress bar scale dot, and can control the appearance style of the dot through CSS.
Point here to download the source code
jQuery and CSS3 progress bar animation effects
Point here to download the source code
NumberProgressBar Progress Bar
Built-in progress bar button