@Description: provides growl like messages for user
@File: widget/notifier.js
@Version: 1.0 08-06-2009
@Example://add this css
#sb_notifications{
position:absolute;
right:10px;
top:10px;
z-index:999;
}
.sb_notify{
width:500px;
border:1px solid #ACACAC;
color:#333;
background-color:#DFDFDF;
padding:10px;
margin:5px;
opacity:0.9;
font-size:1.5em;
}
.sb_notify .sb_close{
background-image:url('/surebert/load/_media/x.png');
background-repeat:no-repeat;
font-size:0px;
width:20px;
height:20px;
margin:-15px 0 0 -20px
}
//then
sb.widget.notifier.init();
@Description: All user notifications feedback goes through this function.
@File: widget/notifier.js
@Param: message string The message to be displayed, can be plain text or HTML
@Param: className string Optional The CSS className to assign to the message
@Param: stay boolean Optional Determines if box stays or fade by default
@Param: effect object Optional Can override the properties of the effect used to move the boxes
effect.heightTween string The height tween method
effect.opacityTween string The opacity tween method
effect.duration integer The duration of the fade out, roll up
effect.onEnd function A function which fires when the message is done fading out
@Example:sb.widget.notifier.notify('Hello World '+new Date());