abidibo.net

Calculator mootools plugin

calculator math mootools

Some days ago I was developing a library to show and run mathematics exercises on the web, and I needed a simple calculator widget.

A search in the mootools forge led to 0 results, so I decided to write my own plugin, also because I needed only some basics operations (sum, difference, multiplication, division, percentage, pow and sqrt).

The result is the Calculator plugin, now available on the mootools forge.

demo

Such plugin let's you create a calculator instance in a specified container or over the document, and make it draggable. Methods are provided in order the hide/show it or destroy it.

The implementation was very very "fast" so the code can be and probably will be enhanced in the next future.

Subscribe to abidibo.net!

If you want to stay up to date with new contents published on this blog, then just enter your email address, and you will receive blog updates! You can set you preferences and decide to receive emails only when articles are posted regarding a precise topic.

I promise, you'll never receive spam or advertising of any kind from this subscription, just content updates.

Subscribe to this blog

Comments are welcome!

blog comments powered by Disqus

Your Smartwatch Loves Tasker!

Your Smartwatch Loves Tasker!

Now available for purchase!

Featured