Mr Speaker

mrspeaker's head in a monitor You find yourself at the entrance to the Hompage of Mr Speaker. In a darkened corner sits a trunk containing HTML5 games and some JavaScript tidbits. Next to it you spy a mastodon account. Exits are North, East, and .

jQuery 1.4 iPhone reference app

[English got you down? Try this post in Belorussian!]

jQuery 1.4 reference appWelcome to the year twenty hundred and ten! As a very early christmas present, the jQuery team have announced they'll be dropping the 1.4 release on us in the next couple of days. They've also unveiled a new documentation effort.

To help you get your head around the reams of new information, I've created a neat-o reference app for your iPhone - so now you've got no excuse not to know what jQuery.noop, .nextUntil(), or .unwrap() does!

To install it, go here on your iPhone then click "+" and "Add to Home Screen" for fullscreen app-y goodness.
Read on for more »

.index() becomes cool in jQuery 1.4

With jQuery 1.4 just around the corner, it's time to start looking at what's new. One nice change is the updated functionality of the index method. Previously, well, it was a pain in the bum to get the index of an element in a selection - and required a pretty convoluted syntax. Now it's super easy... $(this).index(). Let's have a look at a 'lil example:

Read on for more »

Parcycle: A Particle System with HTML5 canvas

All this PPK "iPhone developers are stupid" awesomeness got me thinking. Now, if there's one guy I've got respect for, it's PPK. And if he tells me to ditch objective-c for JavaScript, then I'm damn well going to do it. Accordingly, I decide to create "Parcycle": a Particle Emitter system that I re-wrote from a set of great openGL iPhone tutorials by the good guys at 71Squared.

See the wonders of HTML5 Canvas!!

(here's a proof-of-concept version as an offline iPhone Web app)

Read on for more »

Nifty jQuery trick: setting attributes

I've been knee deep in the jQuery source code recently. It's all gooey, but you do get to see some snazzy things. Today's nifty jQuery trick is about programmatically setting attribute values via a function. To follow along at home you'll need some scissors, a length of string, and some double sided tape...

Read on for more »

The road to jQuery 1.4: at a glance

Ok, here's something you'll want to refer to daily... the current status of the jQuery 1.4 "TODO list", or as I like to call it, "Report 37". Usually when people on the jQuery dev lists ask "When will jQuery 1.4 be ready?" they are met with a resigned (resigned not resiged) answer: "When it's ready". But we don't have to take that kind of glib-ness anymore...

Read on for more »

Adding “1UP notification” with jQuery

mario scoreNow, as many of you know, I'm a big fan of taking interactions from retro gaming and attempting to squish them onto the page as standard UI elements. If I had my way, all sites would look like BMX Simulator from the C64. With that in mind... today something great happened. A win for old-school-gaming-as-ui-elements unmatched since CSS sprites were invented: Jeremy Keith's 1UP notifications! Don't simply let your user know they've "added a friend", let them feel like they "added a friend" AND scored 1000 points! 1UP notifications just have to storm the web with their awesomeness, and we need to do our best to help them.

Get some points:GO!1000

Read on for more »