Page 1 of 1

[rz] Simple Meter *** UPD 2020-Mar-29 ***

Posted: Sat Apr 04, 2015 9:32 pm
by [RZ]
[rz] Simple Meter v1.3

This lightweight extension creates elegant and fully customizable multipurpose meters.
Beautify your surveys, stats and any number you want!

Some features:

- Multidirectional and responsive.
- Colors, font size, style, weight and opacity for the percentage.
- Auto-hides percentage when is not enough place.
- Custom colors, patterns and opacity for both the base and the meter elements.
- Custom range from 0 to n.
- Initial value; or change it later and update the instance with ease.
- Maximum backward, cross-browser and cross-platform compatibility.
- Really lightweight, no dependencies, no jQuery.

...and more!


DEMO


* New in version 1.3

- Optional "live" modes to start over when the instance is within the viewport (similar to [rz] Live Counter).
- Optional border.
- Minor code tweaks.

* New in version 1.2

- Optional transition for a smoother effect while the extension is being updated (some browsers may not support this feature).
- Optional initial delay until the extension is updated for the first time.

* New in version 1.1

- The value can be shown instead of only the percentage.
- Values use the locale formatting automatically.
- Optional prefix and/or suffix for the percentage or the value shown.
- Code moved to an external library.
- Improved preview on workspace.


HTML 4.01 Transitional
W3C compliant


How to use?

1. Drag and drop all the extension instances you need.
2. Open the properties dialog and setup the appearance according to your design scheme.
3. The most important parameter is the maximum value and the current value.
4. Preview or publish.

How to update the value?

1. MyMeter.value = (here the value you want);
2. MyMeter.update();
3. Replace MyMeter by the actual instance name.

Enjoy!

Re: [rz] Simple Meter *** UPD 2016-Sep-13 ***

Posted: Tue Sep 13, 2016 6:40 pm
by [RZ]
* New in version 1.1

- The value can be shown instead of only the percentage.
- Values use the locale formatting automatically.
- Optional prefix and/or suffix for the percentage or the value shown.
- Code moved to an external library.
- Improved preview on workspace.

Re: [rz] Simple Meter *** UPD 2016-Nov-21 ***

Posted: Mon Nov 21, 2016 1:07 pm
by [RZ]
* New in version 1.2

- Optional transition for a smoother effect while the extension is being updated (some browsers may not support this feature).
- Optional initial delay until the extension is updated for the first time.

Re: [rz] Simple Meter *** UPD 2016-Nov-21 ***

Posted: Tue Nov 22, 2016 12:03 pm
by donjohnson24
Looks good - but using the DEMO from the first post, the More/Less/Reset buttons are not clickable in Firefox or Safari ??

Re: [rz] Simple Meter *** UPD 2016-Nov-21 ***

Posted: Tue Nov 22, 2016 12:06 pm
by [RZ]
thank you for your feedback
the buttons are clickable, you should see how the vertical thin meter reacts (just small quantities)

Re: [rz] Simple Meter *** UPD 2016-Nov-21 ***

Posted: Wed Nov 23, 2016 6:35 pm
by donjohnson24
I 'Should have gone to SpecSavers!' :oops: :oops: :oops:

Re: [rz] Simple Meter *** UPD 2016-Nov-21 ***

Posted: Wed Nov 23, 2016 7:27 pm
by [RZ]
:D

Re: [rz] Simple Meter *** UPD 2020-Mar-29 ***

Posted: Sat Mar 28, 2020 10:43 pm
by [RZ]
* New in version 1.3

- Optional "live" modes to start over when the instance is within the viewport (similar to [rz] Live Counter).
- Optional border.
- Minor code tweaks.