Skip to content

Version 4 release! TONS of improvements

Compare
Choose a tag to compare
@HTMLGuyLLC HTMLGuyLLC released this 10 May 19:55
· 114 commits to master since this release

New data-jAlert attributes - use $.jAlert('attach') - Example: Click me!
New "size" alias "width"
New - pass a "px" or "%" width as the "width" or "size"
New "size" aliases - Use the full name instead of abbrev ('small' vs 'sm')
New - pass object as "width" or "size" containing height and width { 'height': '300px', 'width': '300px' }
New default font Arial (to go back to the same as your site/theme, just remove from the CSS
New backbone with tons of improvements
New $.jAlert('current') to get the current topmost visible jAlert - for instance...to close it... $.jAlert('current').closeAlert();
New - if you pass an id selector as the content, it'll grab the content of that element (if it exists). For instance content: '#mydiv'
New - if you accidentally use a lowercase version of an option, it'll still work - had to include this because data attributes are automatically made lowercase in some browsers.