HTML5 Canvas
Written by: Simon Sarris
Featured Refcardz: Top Refcardz:
  1. Apache Hadoop
  2. Web Driver
  3. MVVM
  4. REST
  5. ADO.NET
  1. HTML5
  2. Ajax
  3. jQuery Selectors
  4. CSS Part 1
  5. Git

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
  • 1911
  • 0

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)