Lightbox for embeddable JavaScript widget? Like Feedback tabs for UserVoice/GetSatisfaction

Posted by Eliot Sykes on Stack Overflow See other posts from Stack Overflow or by Eliot Sykes
Published on 2009-09-19T23:53:07Z Indexed on 2010/04/22 6:03 UTC
Read the original article Hit count: 413

Filed under:
|
|

There are so many lightboxes to choose from, I'm looking for a very lightweight one to use in an embedded javascript widget that would be used on a number of different web sites. This would work in a similar way to the GetSatisfaction/UserVoice feedback tab.

Here are the requirements for the lightbox:

  • Very small javascript download (animation not needed)
  • Self contained, not dependent on any libraries such as jquery, etc.
  • Works in major browsers
  • Lightbox displays HTML content from a given URL
  • Close button (like GetSatisfaction or UserVoice)
  • Dims background
  • Avoids javascript namespace conflicts (or can easily be made to avoid them)
  • CSS styling of lightbox does not interfere with site styling

Have you used an existing lightbox scripts for this same purpose with similar requirements? Did you roll your own? Insights welcome!

Thanks,

Eliot

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about lightbox