[wp-hackers] HHow do you use WordPress's built in spinner?
Josh Pollock
jpollock412 at gmail.com
Thu Nov 28 20:06:47 UTC 2013
This is an old thread, but I have the same question and thought I'd share
my detective work.
Source for the gif is /wp-admin/images/spinner-2x.gif. In the admin
it's in .postbox
.spinner which has its display property set to none. This means you'd be
able to use it very easily, would just need to use a few lines of jQuery to
show and hide it.
On Tue, Nov 19, 2013 at 11:31 PM, Funkatron <funkatronic at gmail.com> wrote:
> So Wordpress uses a wating spinner to indicate when its doing something,
> like when you hit the submit button when you are doing something AJAX-y. I
> was wondering how exactly do you replicate this if a developer wanted to
> use it for their plugins? I can't seem to replicate it.
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
More information about the wp-hackers
mailing list