gritter now implemented

This commit is contained in:
John McLear 2013-01-29 01:55:36 +00:00
parent 2ae3dae492
commit 1c7810783c
6 changed files with 129 additions and 7 deletions

View file

@ -364,6 +364,13 @@ function handshake()
});
}
$.extend($.gritter.options, {
position: 'bottom-right', // defaults to 'top-right' but can be 'bottom-left', 'bottom-right', 'top-left', 'top-right' (added in 1.7.1)
fade_in_speed: 'medium', // how fast notifications fade in (string or int)
fade_out_speed: 2000, // how fast the notices fade out
time: 6000 // hang on the screen for...
});
var pad = {
// don't access these directly from outside this file, except
// for debugging