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.
Grinds my gears; Inline JavaScript
You know what really grinds my gears?
JavaScript embedded inside HTML; Why do we even need this functionality anymore? Are there any good arguments in its favour? Besides laziness.
Using event h
Small update
I was a little bit bored today so I updated my contact page. Go click on the link up the top and give it a whirl! It's a bit of a pointless update really and I might revert back to the previous versio
Languages I've learned in order
This is a list of the languages I've learned over the years in order. Starting with what I first learnt and going by when I started, not when I became 'good.' I'm not that competent with a lot of thes
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
HTML DOM and easy screen scraping in PHP
One of my favourite features in JavaScript is its ability to interact with the DOM so easily. This is made even easier by various JavaScript libraries and their selector engines largely based on CSS e
Python - Some syntactic sugar
I've been playing with Python for a while now and basically I love it. This post is going to be a very quick overview of some of Pythons features that might be new or a bit odd to a developer from a d
Sharing your Google reader shared items
I use Google reader all the time, and its cool sharing items that you read about. The only problem is I don’t know many people that use Google Reader and therefore not that many of them see what I sha
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
Lambda Functions - Does your language support it?
What are Lambda functions? Basically lambdas are functions that can be treated as anonymous or as objects. It depends on the language that is being used. They are very useful and at the core of the Functional Programming paradigm.