YUI has a built in carousel widget.
However, it requires fixed widths for all the parts. That does not
fit well in a liquid CSS layout. In particular, we have to support
people using large fonts at the OS level and large font settings in
their browsers. I did not want for our carousel to break down in
these cases. The built in YUI widget does. See this
normal sized screen shot versus one with
large fonts. Now look at dealnews with normal fonts and
So, I decided to make my own using YUI and the grid CSS from
Object-Oriented CSS. You can
see my working example with some explination here.