jquery-dialog
jQuery plugin that creates the basic interactivity for an ARIA dialog widget.
Expected dialog markup adheres to bones convention:
Dialog Title The dialog content goes here. www.ebay.com
Note the use of the 'hidden' attribute to ensure the dialog begins in a hidden state.
To activate the dialog using a button, ensure that the jquery-dialog-button-for
data attribute refers to the id of the dialog:
Open Dialog
Then call the dialogButton plugin on the button:
;
Or, to activate the dialog at page load time, call the dialog plugin directly:
;
Events
Dialog triggers two events when opened and closed:
dialogOpen
dialogClose