Implementing on lifecycle management and element default behaviors in YUI (Chinese); 用 YUI 实现生命周期管理和元素默认行为