Entries from December, 2008

Streaming your iTunes library, improved

The recent post on TUAW about streaming your iTunes library over the internet inspired me to stop using SimplifyMedia and to roll my own solution. The downside was that I found that the software TUAW linked to did not consistantly work. Worse was that the Mac specific version of the application did not work on Leopard.

I compiled a fresh version of the application that works on Leopard. Its much nicer than the generic Java version. When you run it you’ll notice a new icon in your menu bar.

Click on it and you will be able to set up the hosts as they describe in the directions at TUAW.

Download RendezvousProxy for Mac.

Better “max-width” workaround for IE 6

IE 6 famously lacks support for CSS 2.1’s max-width and max-height properties. Most solutions involve an IE 6-exclusive expression(…) with an inline conditional:

max-width: 100px;
width: expression(this.clientWidth > 102 ? "100px" : "auto");

Despite the apparent success of this technique, I’ve still found the inline conditional to be intermittently problematic. A slightly different take on the same solution has worked better for me:

max-width: 100px;
width: expression(Math.min(this.clientWidth, 100) + "px");

Shorter, and IMO, marginally more elegant… if any IE hack could bear that label.