Sidebar Calculator Widget

April 28, 2006 by aaron

This widget is a fully functional non-scientific calculator created entirely out of javascript, absolutely positioned divs and a nice background image. However, as nice as it is there are a few problems with it. Firstly, because I wanted it to be like a real calculator and display only what you are currently typing (as opposed to displaying the entire equation) it can –albeit rarely — just mess up. I tried a lot of combinations but I haven’t found any new bugs; however, I’m sure there are some left over. If you happen to find out what is causing them I would greatly appreciate it if you were to let me know. The second problem is that it is a side bar calculator…how many people need to access a calculator while reading a blog? The third problem is: as always this was made in and for Firefox; other lesser equipped browsers may not allow it to function properly.

Other than that as features, well just look at the picture below or try the demo on the side bar (although that won’t be there long). Every button you see works.

As a note though, the MR button records whatever is on the display, M+ and M- scroll through old saved values and MC clears them all. The values are stored on a cookie so it will work between sessions. Oh and the text you see under the display is customizable.

Download:

Sidebar Calculator Widget

Categorized as:
comments powered by Disqus