views:

68

answers:

3

Hi

Whats the best way to fade between servel images? I can find a free user control the does it. So as i see it i have two choices

1) Try to incorporate some javascript, the java script is on this page http://slayeroffice.com/code/imageCrossFade/xfade2.html But how can it be done

2) Can I somehow encapsulate the Javascript in a asp.net control, cause ill have to use the component more places

+2  A: 

Have a look at jquery tools

http://flowplayer.org/tools/demos/combine/portfolio/index.html

Theres various demos to look at, maybe one will suit your needs.

Rippo
+1 Nice library mate!
Nick
+1  A: 

I've used jquery cycle for that sort of thing and it works well.

Jason Diller
+1  A: 

If you are using jQuery

http://www.geeksucks.com/toolbox/23-jquery-fade-in-fade-out-effect.htm

ram