Releases: stefangabos/Zebra_Dialog
Releases · stefangabos/Zebra_Dialog
3.1.0
- dialog boxes are now draggable by default; see the newly added
draggable
property; see #38 and thanks LukeSavefrogs for suggesting this A LONG TIME AGO! - added the
onOpen
event which triggers after the dialog box is made visible; see #39; thanks LukeSavefrogs for suggesting this A LONG TIME AGO! - added the
onBeforeClose
event which triggers before the dialog is hidden; useful for validating input prompts and not closing the dialog box in case the input is not valid - added
placeholder
property to be used withprompt
type dialog boxes - added
prompt_rows
which when set to a value greater than1
will turn theinput
element in aprompt
dialog box to atextarea
- fixed bug where page scrolling was not disabled when opening modal dialog boxes even though
disable_page_scrolling
was set totrue
by default
3.0.7
- minor maintenance release
3.0.6
- minor maintenance release
3.0.5
- fixed bugs when working with iFrames
3.0.4
- fixed bug where the
disable_page_scrolling
property introduced in3.0.0
had an undesired effect on pages where there was no scroll
3.0.3
- SASS files are now available in the
dist
folder - fixed broken example for overlapping dialogs
3.0.2
- minor release which only adds screenshots to the examples
3.0.1
- fixed #32 where the
center_buttons
property was not centering buttons; thanks LukeSavefrogs!
3.0.0
- page scrolling behind an open dialog box is now disabled by default
- added
margin
property to prevent the dialog box from touching the viewport's limits when stretched 100% horizontally and/or vertically - added
max_width
property which, together with the existingmax_height
property, can now be specified as percentage - added the
default_value
property to be used forprompt
type dialog boxes width
andheight
properties can now be specified as percentages, toocustom_class
is now also added to the overlay, not just to the dialog box- the word
center
can also be used when specifying vertical position (alongsidemiddle
) - when using iFrames, the width and height is now automatically computed to fit those of the dialog box; additionally, now a spinner is also shown while the iFrame content is loading
- the library now automatically does backdrop management when opening multiple modal dialog boxes
- dropped IE6 support
- fixed bug where the positioning of the dialog box was incorrect it had borders
- removed the
backdrop_container
property - minor tweaks to all the templates
2.1.1
- fixed height broken in previous commits