I really like what Lokesh Dhakar has done with lightbox. I wanted to use..and I did! My personal blog is using it for most of photos in any of my posts (maybe I should create a plugin for Dotclear, the blog system I am using on my personal blog…some time I am so lazy!). It looks nice and it is simple to use. But what? I am not writing an article just to say that right?
My concerns when I looked at the javascript behind were:
- the code is not Object -Oriented,
- everything is created within the javascript, I mean, the div tag and all html inside, which make any adaptation for design purpose a little bit tricky,
- As I mentioned in my previous post, I use a lot Prototype, and there are a lot of things that could be simplify in lightbox with Prototype.
