modular shopping

nicholas on 2005-08-19T18:33:34

I bought a bed from Argos[*]. Well, technically a double divan. What intrigued me was that while I was only ordering a single line item (1 double bed with 2 drawers and a firm mattress) the delivery note lists 3 line items:

  1. blank half
  2. draw half
  3. mattress

So I assume that if I'd ordered the 4 draw version I'd've got two number 2s, and the no draw version two number 1s. Also, each half of the base came with 4 castors and one joining strap. So whichever combination of two halves you have, you get the two joining straps you need. Highly logical.

* Not as decadent as John Lewis, and nowhere near as nice to walk round, but far more convenient

Further thought. Is there a "real programmers'" hack for Firefox that lets you change $[ from 1 to 0?


Firefox Counters

Smylers on 2005-08-20T08:04:56

Firefox 1 has res/html.css, the default CSS implementation of HTML elements, including this rule:

ol {
  -moz-counter-reset: -html-counter 0;
}

So I'd've thought putting something similar but with -1 in chrome/userContent.css in your profile would do what you want, but it doesn't seem to work for me.

Note however that more recent versions of html.css no longer have the -moz-counter-reset property. Bug 137285 suggests that it's been renamed to counter-reset, per the spec, but it's hard to see how this is used or what the counter name used for HTML lists is.

This is now irritating me: it looks like it's possible, but I can't work out how ...

Smylers