Ajax Waiter is a small JavaScript libary for providing wait overlays with a CSS based spinners. Ajax Waiter can be used with any existing libraries. The Ajax Waiter is fully configurable using basic properties. No expertise in JavaScript is needed.
Usage
<script src="waiter.js"></script>
<script>
// Show the waiter
window.waiter.show({ targetId : 'codeSample'});
// Update the message
window.waiter.setMessage({ targetId : 'codeSample', message : 'Wait for me!'});
// Hide the waiter
window.waiter.hide({ targetId : 'codeSample'});
</script>
Test it now : Show | Update Message | Hide
Downloads
Waiter requires a single script to use. No other resources or images are needed.
Full - Full 1.0 version of waiter (13kb).
Compact - Compact 1.0 version of waiter (4kb).
Source
Waiter is an open source project under an MIT style license. If you would like to contribute please visit the Google Code Project.
Properties
Options - Find out more about the properties used configure the waiter component.
Examples / Tests
Tests - See more examples and uses of the waiter component.