Simon Willison’s Weblog

Subscribe

Monday, 19th May 2003

Scripting.com, with added CSS

One of the aims of this course is to show how relatively simple CSS can be used to make dramatic improvements to existing sites. Today, I’ll show how CSS can be used to reduce the amount of code needed for a small part of the design of Scripting.com.

[... 1178 words]

The Selfish Class

The Selfish Class provides a set of related patterns to help design software objects that encourage reuse. They seem to make a lot of sense; I’ve only read a smal part of the paper and I’m already spotting things that are reflected in software I’ve found reusable in the past. Key example:

[... 118 words]

New Gestures Build

There’s a new nightly build of the Mozilla mouse gestures plugin which supports Firebird 0.6 and has a preferences panel, complete with options for setting up custom gestures. I missed the customise button at first (Tools -> Options -> Extensions -> Mouse Gestures -> Settings -> Edit Mappings) but it’s very powerful, if slightly confusing. It’s nice to be able to change gestures to the right mouse button without digging in to about:config as well.

[... 92 words]

Syntax Highlighting with Javascript

If you were curious enough to dig around the source code of yesterday’s CSS tutorial, you may have noticed a couple of classes that didn’t appear to be doing anything:

[... 264 words]

2003 » May

MTWTFSS
   1234
567891011
12131415161718
19202122232425
262728293031