A simple flexible light-box style modal window written in jquery.
$('[target="panel"]').panel({'close':'<span>X</span>'});
- close: the content to be displayed in the close button (default: X)
- id: the element id for the panel parent container (default: Panel)
- usemodal: will this panel instance will use a model (default: true)
- modalclose: will the modal close the panel when clicked (default: true)
- maxsize: the maximum ratio to screen size modal will alow (default: 0.9 AKA 90%)
- make the maxsize calculate from margin values instead of a static ratio