nakajima / modal-overlays
- Source
- Commits
- Network (1)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Tree:
24bc530
commit 24bc530b350a5e52fd983b31e72521b4e4a970a0
tree 19f7d1f27ab2fbb37128ae586fc0e757b3c160f6
parent 7e042981746898bef722e7590848b202c7754e81
tree 19f7d1f27ab2fbb37128ae586fc0e757b3c160f6
parent 7e042981746898bef722e7590848b202c7754e81
| name | age | message | |
|---|---|---|---|
| |
README.textile | ||
| |
example/ | Tue Oct 14 23:46:54 -0700 2008 | |
| |
src/ | Tue Oct 14 23:46:54 -0700 2008 | |
| |
vendor/ | Tue Oct 14 16:56:15 -0700 2008 |
README.textile
Modal Overlays in JavaScript
USAGE
Just call Overlay.create, passing it a “builder” function that
returns the element to put on top of the overlay.
Your builder function is passed a function that will cancel the
overlay. You can use it like so:
Clicking the “finish” link built above will fade the overlay and
allow the user to continue with the task at hand.
You also have access to the background overlay element. This snippet
will make the overlay opaque:
REQUIREMENTS
- prototype.js
- effects.js (from script.aculo.us)
© Copyright 2008 Pat Nakajima. All Rights Reserved.

