YUI recommends YUI3.

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

This documentation is no longer maintained.

YUI Library Examples: ImageCropper Control: Skinning the ImageCropper

ImageCropper Control: Skinning the ImageCropper

ImageCropper skinning is done via CSS. The ImageCropper comes with a default skin, but you can extend or override this as needed.

Resize Utility's core CSS file

The ImageCropper's base class is a starting point for skinning the ImageCropper Control. Include this file and use the skin file as a reference for your new skin (you can view the full contents of the base class here).

Sam's skin CSS file

Once you have the base class in place, you can proceed to customize the look and feel of your Resize Utility by working with the skinnning file. Starting with the Sam Skin version below is generally the fastest approach, allowing you to customize just those parts of the skin that will make your implementation resonate with the overall design of your application.

Copyright © 2013 Yahoo! Inc. All rights reserved.

Privacy Policy - Copyright Policy - Job Openings