Tuesday, August 28th, 2007
YUI has some really impressive components but one thing that’s been missing is a good lightbox implementation. Cuong over at Code Central has taken on the task of building a lightbox by first showing how easy it is to create one in YUI! and then making it look slick using YUI 2.3.0’s eye candy skin.
The lightbox incorporated many new features, along with old features such as drop and drag, it has an image preloader, it can scale large images to fit the window, it has a maximum button that allows you to inflate scaled images. You can even double click on the title bar to switch between maximized and scaled mode (for images that are larger than browser’s window area). You can also hide the lightbox conveniently by clicking on the image.
The implementation of it seems easy enough and it looks like a good fit for YUI developers looking for a dynamic gallery.
Posted by Rey Bango at 8:30 am