javascript STYLE behavior

behaviorNN n/a IE 5(Win) 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.


  • G.........
    #1
    2011-11-04
    Reviewing ...
1813,Nickname,Homepage or email,Comments here,Add comment