commit 439c84dd9e57a475baec6955be244af16e402cd7
parent 17e556411991156e87e5343db884d80661c6e54c
Author: Jan Dankert <devnull@localhost>
Date: Thu, 20 Sep 2012 00:44:11 +0200
Überarbeitung Fade-Effekt beim Laden der Views.
Diffstat:
3 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/themes/default/css/layout.css b/themes/default/css/layout.css
@@ -999,9 +999,10 @@ div.window div.status div.ok {
div.loader,
div.progress
{
- xborder:1px solid silver;
+ margin:0px auto;
width:230;
height:25px;
+ margin-top:40px;
background: url(../images/loader.gif) no-repeat;
}
diff --git a/themes/default/images/loader.gif b/themes/default/images/loader.gif
Binary files differ.
diff --git a/themes/default/js/openrat.js b/themes/default/js/openrat.js
@@ -221,8 +221,9 @@ function loadView(jo, url )
//alert(action+"_"+method);
- $(jo).empty().html('<div class="loader" />'+submenu).load(url,function(response, status, xhr) {
- $(jo).slideDown('fast');
+ $(jo).empty().fadeTo(1,0.7).html('<div class="loader" />'+submenu).load(url,function(response, status, xhr) {
+ //$(jo).slideDown('fast');
+ $(jo).fadeTo(350,1);
if ( status == "error" )
{