SAPO::Widget.Dialog->info
This method will show an info window with a message.
This is static method.
Syntax
SAPO.Widget.Dialog.info(string, <optional options>);
Compatibility
| All browsers | Yes |
Depends
Input Parameters
- (string) string : Message string
- (object) options : Optional options
Options
- width: (int) window width (default: 250)
- height: (int) window height
- onComplete: (function) Function to call after show info window
- className: (string) CSS class to style info box
Sample
http://js.sapo.pt/SAPO/Widget/Dialog/sample/
Example
SAPO.Widget.Dialog.info('This is a message\n\nSecond line', {width:500, onComplete:function(){ alert('Show this message'); }});
Community feedback