Archive for February 2008

Shadowbox 1.0 released

This morning, I released version 1.0 of Shadowbox. In its first month, the beta was downloaded over 15,000 times! I really appreciate the amount of interest the JavaScript community has shown in this project. I’m working hard to make sure that it’s a quality piece of code, and I hope you enjoy it. The 1.0 version includes the following feature enhancements over the previous betas:

  • Extensive and fully documented JavaScript API
  • Compatibility with the original Lightbox HTML markup
  • Support for image maps
  • Numerous other options and bug fixes

If you have any questions about how to use Shadowbox for your project, please ask them in the support forum.

More information here.

Shadowbox support forum on Nabble

It’s been difficult to keep the discussion threads organized here on my blog, so I opened up a forum with the nice folks at Nabble. Please post any questions or difficulties that you’re having with Shadowbox in that venue.

You can find it here.

What do you use Shadowbox for?

Wow. One evening, about three weeks ago, I stayed up late working on a little JavaScript app called Shadowbox that I had been working on for several weeks. Before I went to bed, I shot off an email to the jQuery mailing list and made a quick post in the Ext.js forums just to see if anybody else would be interested in using it.

Little did I know.

Continued »

RGB to HSL and RGB to HSV color model conversion algorithms in JavaScript

Here is a set of additive color model conversion algorithms that I found published on Wikipedia and have implemented in JavaScript. It was surprisingly difficult to find these actually implemented anywhere in compact, efficient, and bug-free code, so I wrote my own. These should be easily portable to other programming languages if desired.

Continued »

How to install PHP 5.2, 5.3, and LightTPD on Mac OS X using MacPorts

A few months ago, I was looking for a way to install PHP 5.3 alongside 5.2 on my development machine, a MacBook. Why? It has a lot to do with the new late static bindings and namespaces that have already been committed into PHP’s HEAD. I’ve been anticipating these features for a while now, and I was anxious to try them out.

Special thanks goes to MacPorts’ Ryan Schmidt who helped me out on this thread.

Continued »