Lightbox implementation, first steps into AJAX.

I try to help with the website and part of it was getting rid of a popup we show for showing an image.
I knew what it was what I wanted but didn’t know what it was called, well after some searching I found out it’s called a lightbox (DUH). So called for the resemblance of the real lightbox used in photography.

As my programming skills in javascript aren’t that good I have to rely on some already made ones. And so I entered the world of javascript frameworks, there are several out there and everybody claims the one they use is the best, of course. As I won’t be doing programming myself I could care less which framework my to be implemented lightbox was using. Now that’s not entirely true because I’m sure as we start using the lightbox we’ll probably want to add different features in AJAX as well. I settled on using protoype.js and scriptaculous.js as the framework. It seems to highly popular and so I’ll probably be able to find some nice scripts that utilizes this framework.

It isn’t an easy task as there are more lightbox implementations as there are ways to design one and I’m still checking some of them out. I started with something called beatbox which looked great but as we use dynamic graphics I had to hack the script a bit. At the moment I’m using Lightwindow 2.0 and it seems to be very powerful, maybe to much for our needs at this time. Another one I will try out is Lightbox 2.0

I have to admit, the more I’m looking into AJAX the more I’m beginning to like it but I should stop myself from over using AJAX, which is very easily done.