[dev] [patch] enhancement: redbox loading animation on login

Sönke Schwardt schwardt at univention.de
Thu Aug 30 11:43:53 UTC 2007


Hi!

We experienced a long delay while login resp while loading the
frameset. During this time the browser window is empty and the user has no
idea what happens next. Especially with a huge amount of folders the sidebar
takes quite some time to load.
So the attached patch adds some eye candy while login. The first (smaller) 
part of this patch add RedBox.loading() after pressing login button on login 
form.
Using RedBox.loading() within frameset file was not that easy so we replaced 
the contents of the two frames with a special preloader page. This page 
contains an IFrame filling the whole frame and calls RedBox.loading()
right after loading the preload page has been finished but before the IFrame
has been loaded. If the IFrame content is complete the RedBox animation is
stopped.
We testet it with Firefox 2, IE6 and IE7. Maybe the code requires some
adjustment for other browsers. Would be nice if the patch (or a successor of
it) mades it into CVS.

Regards

 Sönke
-- 
** Besuchen Sie uns auf der Systems vom 23.-26. Oktober 2007 in München **
   ** Themenpark "Perspektive Open Source" - Halle B2 - Stand 110-17 **

Sönke Schwardt          Entwicklung               schwardt at univention.de
Univention GmbH         Linux for your business    fon: +49 421 22232-40
Mary-Somerville-Str.1   28359 Bremen               fax: +49 421 22232-99
                                                http://www.univention.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: redbox_effect_on_login.patch
Type: text/x-diff
Size: 8763 bytes
Desc: not available
Url : http://lists.horde.org/archives/dev/attachments/20070830/f8303aa3/attachment-0002.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.horde.org/archives/dev/attachments/20070830/f8303aa3/attachment-0003.bin 


More information about the dev mailing list