Tag Archive for 'javascript'

Using Thickbox in the WordPress Admin

A complete guide to using Thickbox in the WordPress admin, despite the ingenious traps laid by the developers of the media manager and Thickbox itself. With this guide in hand, you too can shout out ‘Spaaaartaaaaa’ and kick bad code into a big-ass hole in the ground.

Continue reading ‘Using Thickbox in the WordPress Admin’

In English Man!

I’m really not a particularly good programmer. I really like programming — or scripting as it were — but my strength is in how I apply it, not my deft code juggling, nor my mathematical prowess. In fact, my brain often locks up when trying to figure out even fairly simple problems, such as how to write a dice probability calculator, and in the long run it often keeps me from actually coding simply because I know how long it takes me to suss out how to do the more ‘complex’ stuff.

Continue reading ‘In English Man!’

You Keycode. I Can Has?

Today I started coding Monolith, and the first thing on the menu is… yeah. And for that, I need your help. It’s a 3-step program:

  1. Go here
  2. Click the button just below the escape key on your keyboard.
  3. Leave a comment on this entry with the number that popped up.
  1. Profit!

What I’m doing, is trying to figure out how to best use that button for the menu, so I need the keycode for that particular button. But since it’s different in the various territories (192 on my US keyboard, 52 on my Danish), it’s not as easy as it could’ve been.

Update: Turns out I’m getting radically different keycodes with my own code. Never mind for now. I’ll try and figure something out tomorrow. Thanks anyway :)

Prototype 1.5 Released

Yeah, so I’m still at home, eating oat meal and yoghurt very slowly. Very carefully. Which by the way, for those of you keeping track, means I missed out on the burgers at work today. Which sucks, because they are legendary burgers. And free.

Anyway, it does give me an opportunity to mindlessly check my feeds when I’m not feeding myself with painkillers. And as luck would have it, Prototype 1.5 was released today, complete with a new site and brand-spanking new documentation! Shiny!

I’ve already updated our K2 SVN repository, which by the way is as near as I can tell ready for the imminent release of WordPress 2.1.