File manager - Edit - /home/jardides/www/Jardi-design/CodePerso/Javascript/justgage-1.2.2/justgage-1.2.2/examples/format-number.html
Back
<!doctype html> <html> <head> <meta charset="utf-8" /> <title>Counter</title> <meta name="viewport" content="width=device-width"> <style> .container { width: 450px; margin: 0 auto; text-align: center; } .gauge { width: 450px; height: 450px; } a:link.button, a:active.button, a:visited.button, a:hover.button { margin: 30px 5px 0 2px; padding: 7px 13px; } </style> </head> <body> <div class="container"> <div id="gg1" class="gauge"></div> <a href="#" id="gg1_refresh">Random Refresh</a> </div> <script src="../raphael-2.1.4.min.js"></script> <script src="../justgage.js"></script> <script> document.addEventListener("DOMContentLoaded", function(event) { var gg1 = new JustGage({ id: "gg1", value: 40960, min: 1024, max: 1000000, gaugeWidthScale: 0.6, counter: true, formatNumber: true }); document.getElementById('gg1_refresh').addEventListener('click', function() { gg1.refresh(getRandomInt(1024, 1000000)); }); }); </script> </body> </html>
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0 |
proxy
|
phpinfo
|
Settings