News for hackers. Stuff that matters.
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?

Still, gimme a flag and we're set.

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:

http://www.no-margin-for-errors.com/projects/prettyloader/do...