Project site: http://ranman.org/textsand.
None yet
$("#replace").textsand($("<h1>Hallo, Welt!</h1>");
OR
$(“#replace”).textsand($(“#newStuff”));
With markup like this:
<h1 id="replace">Hello, World!</h1> <h1 id="newStuff" sytle="display: none">Hallo, Welt!</h1>
- jQuery 1.5+
- Quicksand https://github.com/razorjack/quicksand/
- Optional: jQuery Easing (http://gsgd.co.uk/sandbox/jquery/easing/)
- Optional: jquery-animate-css-rotate-scale.js (www.zachstronaut.com)
Tested under:
- Chrome 11
Only a small portion of this code is mine. The hardwork was done by the gentlemen who created lettering.js and quicksand. I just want to make that very clear.
Copyright © 2011 Joseph Randall Hunt released under both MIT and GPL version 2 license.