The Source for Java Technology Collaboration
User: Password:



Greg Murray

Greg Murray's Blog

Ajax Waiter

Posted by gmurray71 on October 26, 2008 at 05:28 PM | Comments (2)

I came across a situation where I needed an Ajax style spinner but could not download any images. I extended concepts from the jMaki Revolver to make an image free spinner all in JavaScript.


  window.waiter.show({ speed: 1,
                       delay : 40,
                       targetId : 'body',
                       textColor : '#FFF',
                       background: 'green',
                       opacity : 85,
                       message : 'Please wait 2'});

Test on this page

For detailed documentation on all the properties and more examples see the Ajax Waiter.

If there are features or enhancements you would like to see let me know.


Bookmark blog post: del.icio.us del.icio.us Digg Digg DZone DZone Furl Furl Reddit Reddit
Comments
Comments are listed in date ascending order (oldest first) | Post Comment

  • Hi Greg.
    Great, beautiful spinner !

    I'm experimenting with its 3D look:
    see http://jorgechamorro.com/cljs/025/

    :-)

    Regards,
    Jorge.

    P.S. Search & replace your source: "ctx.maxWith" -> "ctx.maxWidth".

    Posted by: jorgechamorro on November 02, 2008 at 02:28 AM

  • Very cool 3D look. I had originally thought of doing that and now you've already done the work. Great Job!

    Posted by: gmurray71 on December 11, 2008 at 06:19 AM



Only logged in users may post comments. Login Here.


Powered by
Movable Type 3.01D
 Feed java.net RSS Feeds