Re:Unvealing prettyLoader, a solution aimed to unify ajax lo...
by alttab on Thursday April 08, 2010 @10:55PM
(#1251721)
The first thing I thought was, "could I disable it for specific calls?"
Sometimes, you may not want a loader by the mouse, especially if the request doesn't need a response. (Think setting a checkbox, or something that makes a short call and it's distracting to have a loading symbol)
Looks really cool and I hate having to work in the loading notifier on each call where it makes sense. I suppose the other issue is 'covered' by the delay?
Re:Unvealing prettyLoader, a solution aimed to unify ajax lo...
by walkon on Friday April 09, 2010 @03:01AM
(#1252097)
I think you can avoid having it display on every ajax call by setting the bind_to_ajax = false. Then, just manually call the show() or hide() when you want to. Documentation:
Sometimes, you may not want a loader by the mouse, especially if the request doesn't need a response. (Think setting a checkbox, or something that makes a short call and it's distracting to have a loading symbol)
Looks really cool and I hate having to work in the loading notifier on each call where it makes sense. I suppose the other issue is 'covered' by the delay?
Still, gimme a flag and we're set.
http://www.no-margin-for-errors.com/projects/prettyloader/do...
Do ajax preloaders have a history of having too much veal?
Didn't want to spend time converting it for multiple framework if there's no real interest.
With a PNG and sprite animation it could be really pretty.
It's in my to-do list for sure.
Good to know :)