[wp-trac] [WordPress Trac] #21456: Replace animated spinner gifs with spin.js

WordPress Trac wp-trac at lists.automattic.com
Tue Aug 28 16:26:34 UTC 2012


#21456: Replace animated spinner gifs with spin.js
-------------------------+------------------
 Reporter:  nacin        |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  3.5
Component:  UI           |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+------------------

Comment (by lessbloat):

 Here's the trimmed down base code I was going to propose using (if we go
 with the neteye solution):


 {{{
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 <script type="text/javascript"
 src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js"></script>
 <script src="jquery.activity-indicator-1.0.0.js" ></script>
 </head>
 <body>
 <div id="busy3"></div>
 <script>
         $(function() {
                 $('#busy3').activity({segments: 7, width:2, space: 0,
 length: 3, speed: 1.5});
         });
 </script>
 </body>
 </html>
 }}}

 Which runs at between 6% and 11% CPU on my laptop.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21456#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list