jQuery Lightbox, ActiveRecord, and good times
There haven’t been any updates to the to the jQuery Lightbox in a couple of weeks. Hopefully, i’ll get to update the script this weekend, and knock out the last few bugs people have brought up. The script still needs a new name, as well. Any takers on that one?
I put down PHP for a few days last month, and tried to pick up Ruby On Rails again. Certain things about rails just seemed to nicie to have. After a good bit of playing around, i’m convinced that it’s a decent framework. I’m not convinced enough, however, to drop 7 years of PHP experience to jump ship just yet. The main selling point of Rails, for me, was ActiveRecord. In my experience, PHP doesn’t have any great libraries that offer the same functionality. After doing a bit of reading (http://sneer.org/archives/2005/01/02/active_record_in_php_5_part_1/), however, I’ve adapted my own set of classes that seem to be working just as I want them to. They handle implementing the Active Record design pattern nicely, and also handle ORM and various other points of business logic (validating input, enforcing datatypes, automating outputs) quite nicely. I’m implementing them in my latest project at work. If it goes off well there, i’ll most likely bring them online for people to critique / improve. In fact, I believe i’ll do that this weekend anyway. No harm, no foul, right?
Anyway, jQuery Lightbox will be up in the near future, and i’ll offer a compressed version along-side the regular version, which will hopefully keep some people happy.
Cheers!
October 21st, 2007 at 7:08 pm
Hi Warren,
I’ve done some changes to your lightbox script to provide me with zoom functionality for images that are over the viewport size, just like the “lightbox-plus” script. I don’t know whether your planning or not to introduce such functionality to any next version, but if you want to I can gladly send you the changes i’ve made. Since I haven’t been able to find any other mean of contacting you, if you’re interested in the changes drop me a line to miguel.ventura on gmail.
Thanks a lot for your script!
November 9th, 2007 at 3:43 am
I’ve been using your jQuery Lightbox script quite a bit lately and have encountered what I believe is a bug (either in IE or in your script).
When I load jQuery 1.2.1 and jQuery Lightbox 0.4 in IE, it raise an error which then interferes with other JS on the page. Unfortunately the JS debugging in IE is absolute rubbish and I can’t afford to spend any more time on this feature or I’d be submitting a patch.
Is there a known fix for this?
Cheers.
December 1st, 2007 at 7:06 pm
Hi, I have made some needed changes to your jQuery Lightbox script to stop a always present error in IE7 (the invalid argument on line 43) error (Thomas this is probably the one you were experiencing), as well as adding a automatic url detector thing for the images (Eg. fileLoadingImage and fileBottomNavCloseImage)
I can’t seem to find your email anywhere, so I’ve uploaded it to http://www.balupton.com/sandbox/jquerylightbox.zip
Thanks, and hope you submit my changes