SHUFFLING TEXT EFFECT
xml compliantThis script has been tested on and shown to work with Internet Explorer 5+, Netscape 6+, Firefox 1.0 and Opera 7+.
6-Oct-2005: Re-written to use 'relative' positioning to simplify coding and improve performance. Also added ability for text to be a link.
5-Oct-2005: Internet Explorer 4 support removed, updated for XML compatibility, and fixed a window resizing bug.
STEP 1: Copy and paste the code below so that it sits between the <head> and </head> tags at the top of your web-page:



CLICK HERE to select the above script ready to paste it into your clipboard
STEP 2: Place a <span> element with ' id="flirt" ' on your web-page containing the text you wish to have shuffled. For example:



Don't include anything other than text between the <span> tags.
THAT'S IT When your page loads, the text between your <span> tags should be scrambled and then shuffled back into the right order, like the text at the top of this page.

Copyright notice: All scripts are © copyright mf2fm.com. You can use them wherever and whenever you wish, however the copyright notice at the start of the script should remain intact and a link back to this page would be appreciated. The address for this page is: http://www.mf2fm.com/rv/dhtmlshuffle.php.

This page has been viewed 33 times. It was last viewed on Fri 22 Nov, 2024 at 21:22