Concerns about slimbox the lightweight lightbox

Slimbox, the ultimate lightweight Lightbox clone is a clone of lightbox which replaces “click to view” image links. There are some good things and bad things about it. First, it looks much more elegant than typical “click to view” solutions that either pop-up a window (bad) or take you to an empty page with just an image in it. It also gives you the ability to cycle through images with next/prev buttons and the ability to include a caption.

However, the problems are:

  • Breaks the back button
  • Images may be too big to fit on the screen
  • Next/Prev buttons are obscured until you move your mouse over the correct portion of the image
  • You can sometimes feel trapped, as if the lightbox has taken over your browser window
  • It would be nice to show non-image/non plain text content

The cool thing is, these complaints are all very minor and are easily overcome. The author strove to recreate the script.acul.us based lightbox as much as possible, so some of these problems were carried over from the port to mootools.

Other cool js in the news? Mootools is now my *favorite* js library. The compressed script with all the bells and whistles is only 35k. I’ll write more about it later. Also based on mootools is Transcorners, a 4k library for rounding corners, which is great for CMS systems where your users may not have the technical ability to add rounded corner elegance to a page. Also, Snipshot, an ajax based image editor. Basic, but good and easy.

Comments
2 Responses to “Concerns about slimbox the lightweight lightbox”
  1. Olson says:

    For all the lightbox mods, such as slimbox, there is a pretty simple fix for the back button problem. The back button issue is by far the worst of the above mentioned issues, as the next and previous buttons can be made more usable with a bit of CSS.

    For full instructions of how to fix the backbutton see:
    Fixing the Back Button in Lightbox.JS

    To see the mod with better CSS and a usable backbutton check out this Custom Sign Gallary.

  2. Darksat says:

    Yeah Slimbox2 is nice, and its probably more refined than my offering but I have created a new superlightweight lightbox type effect which I am calling byteview.
    Unzipped its 10KN of javascript plus under 1KB of css.
    Check it out.
    http://my.opera.com/Darksat/blog/2009/10/09/byteview-the-world-smallest-javascript-lightview

Leave A Comment