View Full Version : Display clicks as a progress bar
Abronsyth
02-22-2016, 01:37 PM
So, just to make things look prettier, is there a (simple) way to make the number of clicks display as a progress bar?
Thanks,
-Abronsyth
Kyttias
02-22-2016, 03:01 PM
I've thought about this... and there may in fact be a way to do it without even using Javascript! HTML5 introduced the "Progress" element, maybe give this article (https://css-tricks.com/html5-progress-element/) a read through (and for further reading, this bit of documentation (https://html.spec.whatwg.org/multipage/forms.html#the-progress-element))? On the downside, not all browsers can render it (though 89% of browsers can) and if you're okay with it looking nice on most, but not all (http://caniuse.com/#feat=progress), browsers, then that's fine (it doesn't work in iOS Safari very well, or the Opera Mini browser at all).
Definitely let me know how this goes! :wiii:
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.