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.
结果:
编辑上面的代码,点击查看结果。
yige.org
- 试一个