Friday, August 24th, 2007
YUI version 2.3.0 introduced some cool features including a Rich Text Editor and a Color Picker Control. One control that really stands out, the YUI ImageLoader Utility, aims to handle the issue of image pre-loading and the negative impact it has on page performance.
ImageLoader operates on the premise that image data for some images is unnecessary at the initial paint of the page, usually for one of two reasons:
1. The image is â€œbelow the foldâ€ â€” that is, outside of the viewport;
2. The image is in the DOM but will not be made visible until some user interaction takes place, as is the case in some TabView implementations.
In the following video, Yahoo! Travel engineer Matt Mlinac, developer of the YUI ImageLoader Utility, discusses the use cases for the new component along with examples on how to leverage it:
Posted by Rey Bango at 2:38 pm