Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Content Impress is a MooTools class to highlight a certain area of a web page trought removing information noise around it.
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
Demos
Docs
Source
README
README.md
package.yml

README.md

Content Impress

Content Impress is a MooTools class to highlight a certain area of a web page trought removing information noise around it.

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')
    });

Screenshots

Screenshot 1

Something went wrong with that request. Please try again.