From 9500f10ed3e9c18529b1bf91e96fa16f9f926a2f Mon Sep 17 00:00:00 2001 From: RaNaN Date: Tue, 14 Aug 2012 23:29:04 +0200 Subject: addjusted animations --- module/web/templates/default/base.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'module/web/templates') diff --git a/module/web/templates/default/base.html b/module/web/templates/default/base.html index 5e1b2089a..5f18634ee 100644 --- a/module/web/templates/default/base.html +++ b/module/web/templates/default/base.html @@ -199,7 +199,6 @@ internalCallback(subjects); // call internal callback }) }, - show:function (subjects, internalCallback) { subjects.overlay.fadeIn(250, function () { internalCallback(subjects); // call internal callback @@ -209,13 +208,13 @@ animations:{ hide:function (subjects, internalCallback) { subjects.modal.removeClass('window-container-visible'); - subjects.modal.fadeOut(function () { + subjects.modal.fadeOut(250, function () { internalCallback(subjects); // call internal callback }); }, show:function (subjects, internalCallback) { - subjects.modal.fadeIn(function () { + subjects.modal.fadeIn(0, function () { subjects.modal.addClass('window-container-visible'); internalCallback(subjects); // call internal callback }); -- cgit v1.2.3 From 8aa89f5e050417e5ebfbcceeeb5e4176f252a34f Mon Sep 17 00:00:00 2001 From: RaNaN Date: Wed, 15 Aug 2012 19:34:43 +0200 Subject: added tooltip --- module/web/templates/default/base.html | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to 'module/web/templates') diff --git a/module/web/templates/default/base.html b/module/web/templates/default/base.html index 5f18634ee..b26766aab 100644 --- a/module/web/templates/default/base.html +++ b/module/web/templates/default/base.html @@ -186,7 +186,27 @@ style:{ classes:'ui-tooltip-dark ui-tooltip-shadow' } - }) + }); + + $("#notification_div").qtip({ + content:{ + title: {text: "Running Tasks", button:true}, + text: "Content" + }, + position:{ + my:'top center', + at:'bottom center' + }, + show:{ delay:500, effect: function(offset) { + $(this).slideDown(250); // "this" refers to the tooltip + }}, + style:{ + classes:'ui-tooltip-light ui-tooltip-shadow', + width: $("#notification_div").outerWidth(), + height: 100 + }, + hide: false + }); });