Skip to content

Fix for body background height to match jAlert height (when set in size object)

Compare
Choose a tag to compare
@HTMLGuyLLC HTMLGuyLLC released this 11 May 16:03
· 104 commits to master since this release

Improved the animation by adding overflow: hidden to the body before showing the alert

If you pass size as an object of height and width, the body will now stretch to the height.

Example: $.jAlert({ 'title':'wow, sweet', 'content':'blah', 'size':{'height':'400px', 'width':'200px'} });