The Behavior property specifies one or more space separated URLs indicating script(s) to attach to a CSS selector. Behaviors allow the default functionality of a given element to be extended. Using simple CSS syntax that allows script to be separated from style and content, CSS behaviors offer a fairly elegant and efficient way to re-use script code.
Example |
blockquote { behavior: url(hilight.htc) url(#behaveBinObject) } Some text |
|
|
Possible Values |
Value Description [Script URL] | Provides an absolute or relative URL reference to the Behavior. | [#Object ID] | The Behavior is a binary implementation. This syntax consists of a pound sign (”#”) followed by an OBJECT element ID within the document that instantiates the binary implementation. | [Default Behavior] | Quite a few default behaviors ship with Internet Explorer 5.0. This syntax allows each default behavior to be easily referenced. |
|
|