Minimal setup for expose
This document shows you the basics of setting up expose. You take one or more elements then call the mask method and the magic happens. Here is a demo:
The exposing disappears when you click somewhere outside the element or press the ESC button.
This demo uses the following simple DIV element to be exposed. It is styled with CSS.
The exposing happens inside the click event. You'll get access to the clickable element with the $(this) call and the exposing is initialized with the expose() constructor. The api variable is enabled to get access to the exposing API and the load() method performs the exposing effect.