abidibo.net

Calculator

This is a mootools plugin which allows to generate a basic n-digits calculator with the following supported operations: sum, difference, multiplication, division, percentage, pow, sqrt.

Requirements

It requires

  • mootools core >= 1.4.5
  • mootools more >= 1.4.0.1 Drag

Features

Some options available:

  • drag: whether or not to make the calculator container draggable. This option works only if the anchor option is set to null. Default: true.
  • anchor: the element in which inject the calculator, if null the calculator is rendered over the document, in the center of the viewport. Default: null.
  • digits: number of display digits. Default: 14

Calculator has been tested with:

  • windows:
    - google chrome
    - firefox
    - internet explorer 9.0
  • linux:
    - chromium
    - firefox 22
  • mac:
    - firefox 22
    - safari

If you find errors, bugs or simply have some annotations or advises, please comment here or submit them to the project page hosted on github.

mootools forge documentation demo download