egroupware/pixelegg/js/login.js
2013-11-21 04:16:11 +00:00

23 lines
645 B
JavaScript
Executable File

/*
* 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() {
$j("#wrap img.bgfade").first().appendTo('#wrap').fadeOut(3500);
$j("#wrap img").first().fadeIn(3500);
setTimeout(anim, 7000);
}
anim();
$j(window).resize(function(){window.location.href=window.location.href});
});
});