Content Impress 0.2.1
Content Impress is a MooTools class to highlight a certain area of a web page trought removing information noise around it.
Details
- Author
- Sergio Panagia
- Current version
- 0.2.1
- GitHub
- panaghia/Content-Impress
- Downloads
- 3399
- Category
- Effects
- Tags
- Report
- GitHub Issues
Releases
Dependencies
-
_self_/_current_:
- Element.Event
- Fx.Tween
- Element.Style
- Element.Dimenstions
- String
- Array
How to use
There are two main way of using this plugin:
a) Activate on Element
var el = document.id('element2Impress');
el.impress();
/* or */
el.impress({
opacity: .5,
color: '#111'
});
b) Activate by button
var impress = new Impress({
opacity: .9,
color: '#333',
onClose: function()
{
//restore button state
}
});
c) Activate on hover
impress = new Impress({
opacity: .9,
color: '#333',
onHover: true,
toImpressOnHover: $$('.impress')
});
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