Loading concept with status message
How do I make an loading concept with status message?
Simple loader that shows a status message after 5 seconds. What is a loading concept with status message? How do you make a loading concept with status message? This script and codes were developed by Tbleckert on 16 October 2022, Sunday.
Loading concept with status message - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Loading concept with status message</title> <script src="https://s.codepen.io/assets/libs/modernizr.js" type="text/javascript"></script> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <link rel='stylesheet prefetch' href='https://fonts.googleapis.com/css?family=Open+Sans:400'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <script src='http://ajax.googleapis.com/ajax/libs/mootools/1.4.5/mootools-yui-compressed.js'></script> <script src="js/index.js"></script>
</body>
</html>
Loading concept with status message - Script Codes CSS Codes
html { height: 100%;
}
body { background: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2YwZjRmNSIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA=='); background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ffffff), color-stop(100%, #f0f4f5)); background: -moz-linear-gradient(#ffffff, #f0f4f5); background: -webkit-linear-gradient(#ffffff, #f0f4f5); background: linear-gradient(#ffffff, #f0f4f5); height: 100%;
}
.loader { position: absolute; top: 50%; left: 50%; width: 32px; height: 32px; margin: -16px 0 0 -16px; background: url(https://minutemailer.com/assets/css/gfx/bigLoader.gif) no-repeat;
}
.loader > .status { position: absolute; bottom: 0; width: 250px; left: 50%; margin-left: -125px; text-align: center; color: #9eabaf; font: normal 12px/1.2 "Open Sans", sans-serif; opacity: 0; -moz-transition: opacity 0.3s, bottom 0.3s; -o-transition: opacity 0.3s, bottom 0.3s; -webkit-transition: opacity 0.3s, bottom 0.3s; transition: opacity 0.3s, bottom 0.3s;
}
.loader > .status.visible { bottom: -20px; opacity: 1;
}
Loading concept with status message - Script Codes JS Codes
!function () { 'use strict'; var Loader = new Class({ texts: [ 'This might take some time...', 'The mailman seems slower than usual' ], initialize: function () { this.build(); }, build: function () { // Create main element this.element = new Element('article', { 'class': 'loader', styles: { display: 'none' } }); // Create status element this.status = new Element('span', { 'class': 'status' }); // Add loader to body document.body.grab(this.element); // Add status skeleton to loader this.element.grab(this.status); }, show: function () { clearTimeout(this.loaderTimer); clearTimeout(this.statusTimer); // Wait 250ms before showing loader to simulate faster loading this.loaderTimer = setTimeout(function () { this.element.setStyle('display', 'block'); // Show status after 5 seconds this.statusTimer = setTimeout(function () { this.showStatus(Number.random(0, this.texts.length - 1)); }.bind(this), 5000); }.bind(this), 250); }, showStatus: function (message) { this.status.set('html', this.texts[message]).addClass('visible'); } }); var loader = new Loader(); // Show loader loader.show();
}();
Developer | Tbleckert |
Username | tbleckert |
Uploaded | October 16, 2022 |
Rating | 3 |
Size | 3,441 Kb |
Views | 18,216 |
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 |
Profile image concepts | 4,152 Kb |
Swimming dude loader | 3,656 Kb |
Extending Scoreboard.js | 2,935 Kb |
Canvas circle hover test | 2,576 Kb |
A Pen by tbleckert | 1,901 Kb |
Scoreboard.js basic usage | 1,733 Kb |
Named media queris | 1,810 Kb |
CSS3 Cases | 3,330 Kb |
Scoreboard.js messages | 2,031 Kb |
Colorful header navigation concept | 4,499 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 |
Bubble animation | Ftabor | 6,565 Kb |
Intake Form Page 2 | Ijantje | 4,983 Kb |
Sketchy Box | Mnicpt | 3,033 Kb |
Web SQL | Hoehoe | 1,983 Kb |
SlideupBoxes | Gavra | 23,772 Kb |
Exploding Text | Jjmartucci | 4,749 Kb |
CSS Dynamic Width Square Div | Elleestcrimi | 2,861 Kb |
Nice textured background | Hans | 2,659 Kb |
Minimal Menu | Achudars | 3,430 Kb |
A Pen by Gregory Potdevin | GregoryPotdevin | 1,713 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!