<script type="text/javascript"> var peel = new Xteam.Ui.PagePeel('#pagepeel'); </script>
Specify options for your PagePeel (optional). The following shows the options set to their default values
<script type="text/javascript"> var peel = new Xteam.Ui.PagePeel('#pagepeel', {
teaserInterval: 15, /* The interval (in seconds) at which the "teaser" should show. Set to 0 or false to disable teaser */
teaserDuration: 5, /* The time (in seconds) the "teaser" should be open */
fullOpenOnClick: true, /* Whether the Peel opens to the "Full" state when clicked */
fullOpenIsSticky: true, /* Whether the "Full" state is "sticky" and requires a second click to close */
fullOpenCloseOnBodyClick: true, /* Whether the "Full", "sticky" state will be closed by a click outside the Peel */
}); </script>
Version History
1.1 - January 6, 2010
Added functionality for a timed "teaser".
Fixed issue with Peel not closing when the mouse leaves the window under MSIE