Content Impress is a MooTools class to highlight a certain area of a web page trought removing information noise around it.
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') });
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