Link Details

Link 13546 thumbnail
User 111696 avatar

By bloid
via brandspankingnew.net
Published: Feb 15 2007 / 14:03

In response to this article at ajaxian.com, and just for the sheer fun of it, here's a small-footprint object-encapsulated unobtrusive javascript crossfader. At 1.7Kb it's one hundredth of the size of the scriptaculous library used in the other example. (Woohoo.) The constructor takes three variables: an array containing the ids of the divs to be faded, the fade time, and the delay between fades.
  • 12
  • 0
  • 1610
  • 542

Comments

Add your comment
User 107114 avatar

daniel replied ago:

0 votes Vote down Vote up Reply

Impressive. Ate CPU on my machine though.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (12)



Voters Against This Link (0)