Loading Bar
How do I make an loading bar?
Messing around with loading bar stuff.. What is a loading bar? How do you make a loading bar? This script and codes were developed by Jarad Light on 09 October 2022, Sunday.
Loading Bar - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Loading Bar</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div id="container"> <div id="reset">Reset</div> <div class="outer"> <div class="inner"></div> </div> <div id="measure"></div>
</div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Loading Bar - Script Codes CSS Codes
body { background: #111;
}
#container { width: 400px; margin: 0px auto;
}
.outer { margin: 20px 0; height: 10px; background: #333; padding: 3px; border-radius: 5px;
}
.inner { width: 0px; height: 100%; border-radius: 3px; background: #f11; box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.5) inset, 0px -1px 0px rgba(0, 0, 0, 0.7) inset;
}
#reset { padding: 10px; background: #d22; color: white; text-align: center;
}
Loading Bar - Script Codes JS Codes
loading = false;
$("#reset").click(function(){ loading = true; $(".inner").css("width",0);
});
window.setInterval(function(){ if(loading){ increaseBar(); }
}, 10);
function increaseBar(){ var wInner = $('.inner').width(); var wOuter = $('.outer').width(); wInner++; if(wInner < wOuter){ $(".inner").css("width",wInner); //} } else { loading = false; }
}

Developer | Jarad Light |
Username | jaradlight |
Uploaded | October 09, 2022 |
Rating | 3 |
Size | 2,333 Kb |
Views | 18,207 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Map Location Hover demo | 3,439 Kb |
RPG Tool | 3,422 Kb |
Simple Menu | 2,790 Kb |
A Pen by Jarad Light | 2,453 Kb |
Input File behaviours | 2,550 Kb |
Animated Checkboxes | 2,911 Kb |
Dropdown styles | 2,097 Kb |
Sass Placeholder Stuff | 1,751 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Glitchy Text Effect | Kescoe | 2,208 Kb |
Pure CSS Tooltip | APinix | 2,815 Kb |
CSS only simple parallax scroll | Stanssongs | 3,708 Kb |
Three js | Paulq | 2,353 Kb |
To Do List with Delete | Mattlbrody | 2,068 Kb |
Apple website | Jds317 | 1,835 Kb |
Layout 11 | Altynai | 1,690 Kb |
FontAwesome icons with animation | Nicotinell | 2,083 Kb |
Perforated foil | 0x04 | 2,617 Kb |
Layout | X-gyba | 4,234 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!