More Eye Candy For Your Website or Blog

blogging 0 comments suggest edit

Via a reader, I learned about iBox which is similar to Lightbox JS but with more features. It boasts the following benefits:

  • Small size. Total javascript is under 11kb.
  • Versatile. Handles images, external HTML pages, inline DIV elements.
  • Self contained. The script does not require any external libraries.
  • Support for non-JS users, which isn’t hugely important to me.

Check out the iBox Demo.

Found a typo or error? Suggest an edit! If accepted, your contribution is listed automatically here.



4 responses

  1. Avatar for Jeff Atwood
    Jeff Atwood June 21st, 2006

    Congratulations, you've successfully used a Modal Dialog Box on a web page.
    Now that, my friends, is PROGRESS.
    ps. i hate you all

  2. Avatar for Haacked
    Haacked June 21st, 2006

    It's not a Modal Dialog Mr. Curmudgeon. The Refresh and Back button still works.
    Think of it this way. It's just a fancier way to transition to another page while retaining the context of the old page as a background. For example, that little box could be an advanced search box.
    Not sure if this really makes it more or less usable (would need to put it in front of people and observer to determine that).

  3. Avatar for Jeff Atwood
    Jeff Atwood June 21st, 2006

    No, the back button does NOT work. Try the demo you linked yourself.
    Saying refresh works is like saying I can ALT+F4 or CTRL+ALT+DEL a modal dialog in Windows...

  4. Avatar for Haacked
    Haacked June 21st, 2006

    I meant the back button is not disabled, unlike a modal dialog in which nothing works. But yes, it doesn't work as expected (ie it doesn't take the user back one step).
    I have seen Ajax implementations that do work with the back button (Magic Ajax comes to mind) so there might be a way to fix it.