Separate concerns with queues
When you’re doing Javascript, you often find yourself listening to events, and then taking action upon what happened. Let’s take a classic example; the drag and drop effect. You have code that listens for the mousedown event which should signal that it’s time to start listening for the mousemove event. In the mousemove event listener [...]
A Javascript OO gotcha
Every now and then I run into this issue when I’m do OO in Javascript. It creates really wierd bugs that can make you want to rip you hair off (I have no hair left…), so I thought it might be a good idea to share it. It all boils down to the fact that [...]
AD Gallery – a jQuery gallery plugin
I got inspired by myself when I wrote the Editable Select plugin, so I decided to write another one. It’s a gallery plugin that’s a bit different than plugins like Thickbox and Lightbox.
You can see it here (it’s a work in progress, please be gentle).
After quite a lot of tweaking, bug fixing and making sure [...]
An editable select list plugin for jQuery
For a job I did for a client for a couple of months ago, there was a need for a select list that could be editable. I found a plugin for it (don’t remember where I found it, unfortunately), and it worked, kinda. So this morning, I felt like writing such a plugin from scratch.
It [...]