Javascript Reference
Categories: STYLE

javascript STYLE behavior

@March 15, 2008, 1:22 a.m.
behaviorFirefox/Netscape/NN n/a IE 5(Win) Chrome/Safari/DOM n/a  

Read/Write  

Controls whether an IE Windows external behavior is assigned to the element.

 
Example
 
document.getElementById("div3").style.behavior = "url(#default#userData)";
 
Value

CSS-formatted URL value, with the actual URL pointing to an external .htc file, ID of an object element that loads a behavior ActiveX control into the page, or one of the built-in default behaviors (in the format url(#default#behaviorName)).

 
Default

None.


Powered by Linode.