Posts for JavaScript

Fun with Balls

When I learn a new language I like to create a basic application that has some 2D balls (spheres if you prefer) bouncing on the screen. Here is my JavaScript effort.

Resources for learning JavaScript

Ajax has been around for yonks now and it’s not news. However, many people seem to still shy away from learning JavaScript. Having JavaScript or more specifically ECMAScript under your belt is really

JavaScript: Detecting Caps lock

<p class="MsoNormal"><span lang="EN-GB">I wanted to see if you could detect caps lock in JavaScript. Why? As a small usability touch, basically alerting users that caps lock is enabled when they are e

JavaScript Object Manipulation

<p class="MsoNormal">JavaScript is a very dynamic language, so much so that you can redefine and change objects on the fly. This can be a strange concept to programmers from a more traditional OO back