YUI recommends YUI 3.

YUI 2 has been deprecated since 2011. This site acts as an archive for files and documentation.

Using setStyle

Clicking the button will use Dom's setStyle method to set the opacity of the element.

Lorem ipsum dolor sit amet, consectetuer adipiscing elit.