Lightbox for embeddable JavaScript widget? Like Feedback tabs for UserVoice/GetSatisfaction
- by Eliot Sykes
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