Hinnerup Net ApS, toying with Ajax spinners


Toggling of spinners inserted to the DOM in various ways.

Claimed to fail for hidden spinners in IE, these examples work in IE5.5, IE6, IE7, IE8b2, FF2, FF3, Safari 3.1.2, Opera 9, Opera 10 alpha and Chrome 1.0.

Example 1 | Example 2 | Example 3 | Example 4
Spinner added to the DOM directly from the HTML source as visible but is placed inside a hidden div.

  jQuery('#theDiv').toggle();
  // Called in onclick handler of button



Author: Michael Schøler, michael@hinnerup.net, Hinnerup Net Aps, 2009

Valid XHTML 1.0 Strict Valid CSS! JavaScript verified with JSLint