egroupware/pixelegg/js/login.js

23 lines
645 B
JavaScript
Raw Normal View History

2013-11-18 20:27:56 +01:00
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
egw_LAB.wait(function() {
$j(document).ready(function() {
$j('img.bgfade').hide();
var dg_H = $j(window).height();
var dg_W = $j(window).width();
$j('#wrap').css({'height':dg_H,'width':dg_W});
function anim() {
2013-11-21 05:16:11 +01:00
$j("#wrap img.bgfade").first().appendTo('#wrap').fadeOut(3500);
$j("#wrap img").first().fadeIn(3500);
setTimeout(anim, 7000);
2013-11-18 20:27:56 +01:00
}
anim();
$j(window).resize(function(){window.location.href=window.location.href});
});
});