7 comments

[ 3.6 ms ] story [ 32.0 ms ] thread
Anything interesting about it?

(Apart from the fact that it allows decimal numbers like 127.0.0.1 and uses annyoing alert() boxes for error handling.)

Yeah, alert boxes aren't great I admit. I was aiming for the bare minimum of functionality but I could perhaps add nicer popups using script. It detects changes in browser window size and tries to redraw the button pad accordingly; and so should work well on mobile screens too though there are some width issues on iPod Touch.
I did one of these as a class exercise in college. how is this hn front page material? Or did I miss something big?
You think it could be as least as powerful as the standard Windows 7 calculator - which is actually pretty nice.
On the iPhone 4 iOs 4.1 it raises the keyboArd each time you press a button