From 9ea02e059f8c4647d1e4de216a57603c4baf4ba6 Mon Sep 17 00:00:00 2001 From: Loic Knuchel Date: Mon, 21 May 2012 19:48:34 +0200 Subject: [PATCH] modify demo --- demo/script.js | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/demo/script.js b/demo/script.js index a9a9360a..b22b1fcf 100644 --- a/demo/script.js +++ b/demo/script.js @@ -1,6 +1,6 @@ $(document).ready(function(){ //alert('toto'); - /*noty({layout : 'topLeft', theme : 'noty_theme_default', type : 'notification', text: 'notification with default theme', timeout : false }); + /**/noty({layout : 'topLeft', theme : 'noty_theme_default', type : 'notification', text: 'notification with default theme', timeout : false }); noty({layout : 'topLeft', theme : 'noty_theme_default', type : 'warning', text: 'warning with default theme', timeout : false }); noty({layout : 'topLeft', theme : 'noty_theme_default', type : 'alert', text: 'alert with default theme', timeout : false }); noty({layout : 'topLeft', theme : 'noty_theme_default', type : 'information', text: 'information with default theme', timeout : false }); @@ -26,14 +26,13 @@ $(document).ready(function(){ noty({layout : 'bottomLeft', theme : 'noty_theme_facebook', type : 'alert', text: 'alert with facebook theme', timeout : false }); noty({layout : 'bottomLeft', theme : 'noty_theme_facebook', type : 'information', text: 'information with facebook theme', timeout : false }); noty({layout : 'bottomLeft', theme : 'noty_theme_facebook', type : 'success', text: 'success with facebook theme', timeout : false }); - noty({layout : 'bottomLeft', theme : 'noty_theme_facebook', type : 'error', text: 'error with facebook theme', timeout : false });*/ + noty({layout : 'bottomLeft', theme : 'noty_theme_facebook', type : 'error', text: 'error with facebook theme', timeout : false }); var content = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus eget tincidunt velit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.'; var title = '
This is a sticky notice!
'; var icon = '
'; - noty({layout : 'bottomRight', theme : 'noty_theme_growl', type : 'error', closeButton : true, text: content, timeout : false }); - noty({layout : 'bottomRight', theme : 'noty_theme_growl', type : 'error', text: title+content, timeout : false }); - noty({layout : 'bottomRight', theme : 'noty_theme_growl', type : 'error', text: icon+'
'+title+content+'
', timeout : false }); - noty({layout : 'top', theme : 'noty_theme_growl', type : 'error', text: icon+'
'+title+content+'
', timeout : false }); + noty({layout : 'bottomRight', theme : 'noty_theme_growl', type : 'error', text: content, closeButton : true, timeout : false }); + noty({layout : 'bottomRight', theme : 'noty_theme_growl', type : 'error', text: title+content, timeout : false }); + noty({layout : 'bottomRight', theme : 'noty_theme_growl', type : 'error', text: icon+'
'+title+content+'
', timeout : false }); }); \ No newline at end of file