JavaScript Resources

Javascript - CSS Crossfader
 



Javascript / CSS Crossfader

Description:

This is a small-footprint object-encapsulated unobtusive javascript crossfader. At 1.7Kb it's one hundredth of the
size of the scriptaculous library.   

The constructor takes three variables: an array containing the ids of the divs to be faded, the fade time (in
milliseconds), and the delay between fades (also in milliseconds).

var cf = new Crossfader( new Array('cf1','cf2','cf3'), 500, 2000 );

 

Browsers Compatibility:
IE, FF, Opera, Safari
 Download




—
more Resources Scripts: Forms, Text, Buttons, Games, Calendars, Miscellaneous, Utilities, Clocks,
Navigation, Windows, Cookies, Special Effects, Counters, Passwords, DHTML



[Home] [Templates] [Blog] [Forum] [Directory] JavaScript Resources - Javascript - CSS Crossfader