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

Chuck Hagenbuch chuck at horde.org
Thu Aug 30 18:21:10 UTC 2007


Quoting Sönke Schwardt <schwardt at univention.de>:

> 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.

I think it's a fine idea to show the loading... on submitting the  
login form, but this seems really complex just to hide the sidebar.  
Why not just show it in the frame the login form is in (if the login  
form is even in a frame, which it isn't necessarily)?

-chuck


More information about the dev mailing list