Animated Loader selection

Page: 1

Author Post
dmmunro
Guest
I've been reading the forums, such as http://floatboxjs.com/forum/topic.php?id=217
and I have a question regarding disabling or having a call to load a custom loader.

Now, the standard loaders are fine and yes you can theme windows with different loaders, but I have a box that displays a logout for a couple of seconds with my own unload progress bar. I would rather not have the standard loader show up before my logout message appears with my logout animation. Its purely a UI thing to keep people from becoming confused.
Is there a way to no have the loader show up in this case?
Cheers
M
Administrator
Registered: Aug 2008
Posts: 3382
If you want to hide the loader after the box is up and running, you could call
fb.fbLoader.style.visibility = 'hidden';
(or parent.fb... if you're inside an iframe).

If you wanted to permanently discard the display of the loading gif, you could modify floatbox.css by adding visibility: hidden; to the #fbBox #fbLoader section.
dmmunro
Guest
Nice.. that will work perfectly.. ie
fb.fbLoader.style.visibility = 'hidden';
Cheers

Page: 1