JQueryUI Capacity Meter widget
How do I make an jqueryui capacity meter widget?
Implementation of a jQuery Capacity Meter widget.. What is a jqueryui capacity meter widget? How do you make a jqueryui capacity meter widget? This script and codes were developed by Tom on 16 September 2022, Friday.
JQueryUI Capacity Meter widget - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>jQueryUI Capacity Meter widget</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="destinations"> <span class="ui-capacity"> <span class="ui-capacity-text"> 999.9 GB <span class="ui-capacity-text-secondary"> Used </span> </span> <span class="ui-capacity-segments"><span class="ui-capacity-segment ui-capacity-segment-active capacity-stored"></span><span class="ui-capacity-segment capacity-cold"></span><span class="ui-capacity-segment capacity-free"></span></span> </span>
</div> <script src="js/index.js"></script>
</body>
</html>
JQueryUI Capacity Meter widget - Script Codes CSS Codes
.ui-capacity { box-sizing: border-box; display: inline-block; cursor: pointer;
}
.ui-capacity .ui-capacity-text { display: block; clear: both;
}
.ui-capacity .ui-capacity-segments { display: block; clear: both; margin: 0; padding: 0; border-top: 1px solid #afafaf; height: 6px;
}
.ui-capacity .ui-capacity-segment { display: inline-block; clear: none; float: left; margin: 0; padding: 0; height: 6px;
}
.capacity-stored { width: 81px; background: #fcb492;
}
.capacity-stored.ui-capacity-segment-active { background: #fe5000;
}
.capacity-cold { width: 20px; background: #bce4fd;
}
.capacity-free { width: 49px; background: #f8fcc9;
}
.destinations .ui-capacity { width: 150px; font-size: 14px; font-family: "Proxima Nova";
}
.destinations .ui-capacity .ui-capacity-text { padding-left: 3px;
}
.destinations .ui-capacity .ui-capacity-text-secondary { font-size: 10px; text-transform: uppercase;
}
JQueryUI Capacity Meter widget - Script Codes JS Codes
$('.capacity-meter').capacityMeter('setData', { 'capacity-used': 85899345920, // 80 gb 'capacity-cold': 22548578304, // 21 gb 'capacity-free': 52613349376 // 49 gb
});
[
{ 'capacity-used': 85899345920, // 80 gb 'capacity-cold': 22548578304, // 21 gb 'capacity-free': 52613349376 // 49 gb
}
]
$('.capacity-meter').capacityMeter('defineSelections', [ { }
])
Developer | Tom |
Username | tomprogers |
Uploaded | September 16, 2022 |
Rating | 3 |
Size | 2,612 Kb |
Views | 30,360 |
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 |
Layout for wordsearch tutorial | 2,726 Kb |
Layout for crafting assistant | 3,522 Kb |
Charts | 2,497 Kb |
Encoding | 3,245 Kb |
API documentation | 3,622 Kb |
Crawford - layout | 4,049 Kb |
Playing with auto-truncation of text | 2,217 Kb |
Table styling | 3,298 Kb |
Gravatar monogram playground | 3,235 Kb |
Sidebar layout for doc viewer | 9,963 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 |
Template | Indra_z85 | 2,323 Kb |
Disable JavaScript execution from console | Ludviglindblom | 2,534 Kb |
Hoi hoi | JohnTheCat | 7,248 Kb |
Electric worm | Jeffibacache | 2,377 Kb |
Base64 SVG Me | MrBambule | 44,786 Kb |
Simple animated hover effect | Pobee-norris | 3,044 Kb |
A Pen by Paul Sullivan | Pwsm50 | 2,349 Kb |
Box Shadow Effects | Retrofuturistic | 2,143 Kb |
Ball bouncing loading animation | Adam2326 | 3,144 Kb |
Firefox Breakout Guide | Quincysoeliman | 2,576 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!