源代码:
IE5 introduced DHTML behaviors. Behaviors are a way to add DHTML functionality to HTML elements with the ease of CSS.
How does behaviors work?
By using XML we can link behaviors to any element in a web page and manipulate that element.
运行结果: