Simon Willison’s Weblog

Subscribe

Tuesday, 23rd December 2008

jQuery: Changeset 5990. “Added a new liveQuery/event delegation hybrid method”. Lets you add events that continue to work as new elements are dynamically appended to the DOM, e.g. $(’div p.foo’).live(’click’, fn). Works by adding an event handler to the root document element itself and relying on event bubbling. I have to admit I preferred the earlier proposal of $(’div’).delegate(’p.foo’..), which feels like it should have much better performance—anyone know of a good plugin that supports this?

# 12:22 pm / delegate, events, javascript, jquery, livequery

Quickchoice—a Speed Dial clone (via) Lovely demonstration of the CSS transform property, as supported by modern browsers. The magic is all in the iframe { transform: scale(0.25, 0.25) translate(-1200px, -900px) }

# 12:49 pm / css, csstransform, iframes, javascript, speeddial

Using SVG on the Web. I’ve been having a lot of fun playing with SVG recently. Here are some useful tips for including SVG images in HTML and XHTML documents.

# 1 pm / benjamin-smedberg, html, svg, xhtml

How to launch a new product. Jason Calacanis explains how they launched Mahalo Answers, including tips or running your own PR (Jason used to be a reporter so he’s played both sides of that fence).

# 1:10 pm / jason-calacanis, launch, mahalo, mahaloanswers

Merb gets merged into Rails 3! Huge news. Of particular interest is the new focus on “framework agnosticism”, whereby Rails will aim to play well with people wishing to use alternative ORMs, template mechanisms and so forth. Rails has previously suffered from a reputation for getting in your way if you deviate from its opinions.

# 8:32 pm / frameworks, merb, rails, rails3, ruby

ReferenceError: console is not defined. Since Firebug 1.2 you need to call window.loadFirebugConsole() in order for console.log and friends to work.

# 10:22 pm / debugging, firebug, firefox, javascript

2008 » December

MTWTFSS
1234567
891011121314
15161718192021
22232425262728
293031