John Resig


Playing With llor.nu

A fun online game that I’ve been playing, lately, is llor.nu (unroll, backwards). It’s written using Ruby on Rails, has lots of nice Javscript/AJAXy things, and is Open Source. The game, in and of itself, is rather simple – you roll the dice, collect money, pay rent, build buildings, and get more money. Which can […]

Comment · Posted: December 16th, 2005


Google Homepage API

Yesterday, I sat down and played around with the new Google Homepage API, which is interesting, in and of itself. I found the development to be most like developing a widget (for Dashboard or Konfabulator). A couple observations: By default, your module is contained within a fixed height IFrame, but it’s possible to actually embed […]

Comment · Posted: December 14th, 2005


XPath and CSS Selectors

Lately, I’ve been doing a lot of work building a parser for both XPath and CSS 3 – and I was amazed at just how similar they are, in some respects – but wholly different in others. For example, CSS is completely tuned to be used with HTML, with the use of #id (to get […]

Comment · Posted: December 13th, 2005


Javascript Sparklines Library

This is an unobtrusive implementation of Sparklines, done in Javascript using the new Canvas element. It has been confirmed to work in the new Firefox betas, at the very least. Until the Canvas element becomes more widely accepted, this is more of a ‘fun demo’ at best. How To Use: To use, place your data […]

Comment · Posted: November 12th, 2005


Sparklines with Javascript and Canvas

About a month ago, when the new Firefox beta was released, I decided to play around with the brand-spanking new Canvas element, which is going into HTML 5. Currently Mozilla, Safari, and Opera 9 all support it – which is a good sign. Essentially, this element allows you to do 2D graphics (drawing lines, rotating […]

Comment · Posted: November 12th, 2005


Fall Recap

I could give a thousand excuses, but I’m not entirely sure if they’d mean anything. September and October have been an incredibly busy time for me, school, moving, sickness, work – it’s just piled on top of each other. Although, this doesn’t mean that I’ve been slacking – I just haven’t had time to make […]

Comment · Posted: October 18th, 2005


Word to the Wise

Word to the Wise: If you run a dedicated web server for multiple people and web sites – make sure none of the sudo-capable accounts use a dictionary-based password. Ever. With that in mind, the past few days have been a complete mess. Luckily, all the data and files were saved from my various web […]

Comment · Posted: September 14th, 2005


Flexible Javascript Events

This is the project page for my entry into the addEvent() recoding contest. It works in all of the modern browsers: Windows IE 5+, Mozilla, Opera, and Safari. The code meets every item outlined in the guideline – attempting to be as short and simple as possible. You can view a demo of it in […]

Comment · Posted: September 8th, 2005


Next entries » · « Previous entries

Secrets of the JavaScript Ninja

Secrets of the JS Ninja

Secret techniques of top JavaScript programmers. Published by Manning.

John Resig Twitter Updates

@jeresig / Mastodon

Infrequent, short, updates and links.