Simon Willison’s Weblog

Blogmarks tagged javascript in Aug, 2007

Filters: Type: blogmark × Year: 2007 × Month: Aug × javascript ×

Google Web Toolkit: Towards a better web. Good overview of why GWT exists, but I take exception to the title: requiring JavaScript to even display something does not make the web “better”. # 29th August 2007, 8:21 pm

jQuery 1.1.4: Faster, More Tests, Ready for 1.2. The backwards compatibility policy for 1.2 is pretty clever: provide a plugin that restores removed functionality (such as XPath selectors). # 24th August 2007, 4:22 pm

Building a JavaScript Library. Slides from John Resig’s Google Tech Talk. Some great tips in here, including: make your APIs orthogonal, look for common patterns, keep things extensible and write the documentation yourself. # 24th August 2007, 4:02 pm

Live Query jQuery plugin. Ingenious plugin that lets you register jQuery event bindings to be executed when a new element matching the provided selector is added to the DOM. Performance is kept snappy by only running the check after a jQuery DOM manipulation method has been executed (append, prepend, attr etc); it won’t notice elements added using regular DOM methods. # 22nd August 2007, 10:01 pm

Fixing GC issues on IE 6: New IE download. Microsoft have released Windows Script Host / Script Runtime version 5.7, which apparently cleans up a bunch of IE 6 memory leaks. # 17th August 2007, 11:50 pm

Learning jQuery. An entire year’s worth of jQuery tutorials, split in to beginner, intermediate and advanced. # 17th August 2007, 11:50 am

Operation Aborted. Another fantastically obscure IE bug: appending new elements to the HEAD element breaks if a BASE tag is present. # 16th August 2007, 11:21 am

Prototype 1.6.0 release candidate. Prototype gets a long-needed update to its Event API, and some interesting new Function.prototype extensions. # 16th August 2007, 8:49 am

Some Notes on the YUI Rich Text Editor. Dav Glass explains how he achieved the impressive feat of building a rich text editor widget that also works in Safari. # 15th August 2007, 8:13 pm

Lazy Function Definition Pattern. Neat JavaScript trick: redefine a function the first time it’s called, for example to switch in different browser implementations based on object detection. # 15th August 2007, 6:57 pm

Background Iframe (bgiframe). jQuery plugin that inserts an iframe shim behind an element in IE, allowing the element to be positioned overlapping a select box without the select box showing through. # 9th August 2007, 2:54 pm

SproutCore (via) MVC JavaScript framework used to build the new .Mac Web Gallery application. # 7th August 2007, 11:35 pm

CodePress. “Real Time Syntax Highlighting Editor written in JavaScript”. # 7th August 2007, 10:49 pm

jQuery in 15 minutes. A quick introduction I put together. Much more interesting in conjunction with Firebug powered demos. # 7th August 2007, 2:57 pm

The Wii Remote API. “allows the Web page to detect all Wii Remotes that are connected to the Wii [...] this makes it possible to make Web pages interact with up to four users at the same time, a concept not normally possible with traditional JavaScript event detection.” # 6th August 2007, 9:32 pm

YUI 2.3.0. New components are a rich text editor, dojo-style package loader, lazy ImageLoader, colour picker and unit test framework. Easier skinning as well. # 1st August 2007, 8:20 am