Lightbox used to be nice when it made one particular thing easy to do. Then it expanded to do five million things and became so complex that if you want to do any particular one of those things it's much easier to just code it by hand.
How queer. That suggests to me an issue with the way the browser is reporting the scroll position. HMMM :(
I've also just found out that IE9 displays all images at the same size as whichever image you click first. This is most vexing :@ (and best of all it works just fine in IE8 :? )
IE is more diabolically cruel than waterboarding...
----
"Cellphones have turned people blessed with opposing thumbs and ten digits into monkeys hammering on a 2-inch touchscreen with all the speed and grace of a retarded badger molesting a tennis ball."
Heh. Turned out that assigning a new src to an existing image object doesn't update the width and height properties in IE9. Fixed it now, anyway (by creating a new image object each time).
If you expand this (I presume you'll want to add fading in and out? People seem to expect that these days) .. try not to go too far and end up being what lightbox is. This should be the "I just want it to work without a lot of fucking around" option. So not too many settings and tasteful defaults.
</telling you to do stuff you probably already knew>
Fading, hmm. Dunno*. Higher priority is stuff like "Next" and "Previous" links, and maybe a close button or something (since it's not immediately obvious how to hide the popup, and in my experience clicking popups tends to make bad things happen).
I would also like to do the thing Lightbox does where you can have more than one gallery per page, although I dunno how useful that'd be. Another thing that might be useful is adding a 'darkener' thing to dim the rest of the page.
edit: I also had an idea to examine the link to see if it contained a thumbnail image, and use that as a placeholder while the full image loads.
I've just updated it btw, so that it actually scales properly (i.e. maintaining aspect ratio).
* but only because I don't know how I'd do it :$ I'll have to look at how jQuery manages it - perhaps with some fiddling with transparency properties and such.