Skip to content

Releases: HTMLGuyLLC/jAlert

Added fullscreen option

25 Aug 19:18
Compare
Choose a tag to compare

Use fullscreen: true/false to stretch the content to fit the page.

There is a bug with a vertical scrollbar that goes away when you resize the page.

If someone wants to tackle that, please do!

Fixed dupe button handlers, added dist folder, and git hook auto-compile instructions

24 Aug 15:55
Compare
Choose a tag to compare

Removed borders on no_title alerts, and iframes - re-added box-shadow

19 Jul 17:15
Compare
Choose a tag to compare

greatly improved the look of alerts on white background + videos/iframes/photos with noPadContent: true

Added noPadContent option

19 Jul 16:10
Compare
Choose a tag to compare

and adjusted comments and versioning in files

Fix for positioning, fix for iframe, and added background blurring

19 Jul 15:41
Compare
Choose a tag to compare
4.03

fix iframe height, fix positioning, add blur background option

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

11 May 16:03
Compare
Choose a tag to compare

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'} });

FIX for version 4's data-jAlert

10 May 21:08
Compare
Choose a tag to compare

Fix for the data-jAlert attributes.
When running $.jAlert('attach') multiple times (for dynamically added content), it was attaching multiple callbacks.
Also added the alias "color" for "theme.

Version 4 release! TONS of improvements

10 May 19:55
Compare
Choose a tag to compare

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.

New design, new colors, new close button (round)

06 May 14:41
Compare
Choose a tag to compare

Flattened design, added new themes, added "auto" size, added round close button, now removes focus from focused element on open to prevent hitting buttons over and over again causing a bunch of popups

Fixes for IE7, Forced focus change, fixed options

04 Sep 13:00
Compare
Choose a tag to compare

Options were being overridden. It wasn't noticeable because when you overwrite most options, it doesn't change anything (since they were used just to render the alert..such as title and theme), however, the callback ones like closeOnClick and closeOnEsc were being overwritten by each new alert. I fixed this by setting up an object with a key per jAlert ID that is filled with the options. After popping up the alert, any callbacks can now use the ID to access the options. I'm not really a fan of this, but it works.This version MAY introduce new bugs since that was such a big change and I haven't had time to test every single thing, but odds are that this is good to be used since I've tested the main functionality.