width |
Width of the notice |
"300px" |
title_escape |
Whether to escape the content of the title. (Not allow HTML.) |
false |
text_escape |
Whether to escape the content of the text. (Not allow HTML.) |
false |
styling |
What styling classes to use. (Can be either jqueryui or bootstrap.) |
jqueryui |
type |
Type of the notice. "notice", "info", "success", or "error" |
"notice" |
stack |
The stack on which the notices will be placed. Also controls the direction the notices stack. |
{"dir1": "down", "dir2": "left", "push": "bottom", "spacing1": 25, "spacing2": 25} |
nonblock_opacity |
The opacity of the notice (if it's non-blocking) when the mouse is over it |
0.2 |
title |
The notice's title |
false |
text |
The notice's text |
false |
animation |
The animation to use when displaying and hiding the notice. "none", "show", "fade", and "slide" are built in to jQuery. Others require jQuery UI. Use an object with effect_in and effect_out to use different effects. |
"fade" |
animate_speed |
Speed at which the notice animates in and out; "slow" , "def" or "normal" , "fast" or number of milliseconds |
"slow" |
icon |
Set icon to true to use the default icon for the selected style/type, false for no icon, or a string for your own icon class. |
true |
mouse_reset |
Reset the hide timer if the mouse moves over the notice |
true |
remove |
Remove the notice's elements from the DOM after it is removed |
true |
sticker |
Provide a button for the user to manually stick the notice. |
true |
closer |
Provide a button for the user to manually close the notice |
true |
opacity |
Opacity of the notice |
1 |
sticker_hover |
Only show the sticker button on hover. |
true |
closer_hover |
Only show the closer button on hover. |
true |
min_height |
Minimum height of the notice; it will expand to fit content |
"16px" |
before_init |
function called when the message is being initialized |
|
after_init |
function called when the message has been initialized |
|
history |
Display a pull down menu to redisplay previous notices, and place the notice in the history |
false |
shadow |
Display a drop shadow |
false |
delay |
Delay in milliseconds before the notice is removed |
8000 |
nonblock |
Create a non-blocking notice; it lets the user click elements underneath it |
false |
cornerclass |
Class to be added to the notice for corner styling. |
"" |
insert_brs |
Change newlines to br tags |
true |
after_open |
called when the message has been displayed |
|
before_open |
called when a message is about to be closed |
|
after_close |
called when a message has been closed |
|
before_close |
called before a message is closed |
|
hide |
After a delay, remove the notice |
true |
addclass |
Additional classes to be added to the notice (for custom styling) |
"" |