Overlight 0.1
Overlight is a simple lightbox implementation useful to display content on users click and let them disappear by timeout and/or click
Details
- Author
- Enrico Carlesso
- Current version
- 0.1
- GitHub
- carlesso/overlight
- Downloads
- 2495
- Category
- Effects
- Tags
- Report
- GitHub Issues
How to use
Overlight should be initialized in the head of your page, providing the options you prefer. Then either associate events to show or call it 'by-hand'.
Javascript
over = new Overlight();
$(element).addEvent('click', function() {
over.show('<h4>This is a TEST</h4><br /> And it will disappear in 5 seconds!', 5000);
});
For further help read the documentation or visit [http://www.ecarlesso.org/js/overlight].
Discuss
A note on comments here: These comments are moderated. No comments will show up until they are approved. Comments that are not productive (i.e. inflammatory, rude, etc) will not be approved.
Found a bug in this plugin? Please report it this repository's Github Issues.
blog comments powered by Disqus