Implementation below is a generalization of Ben Nolan’ idea of behaviors. Behaviors were implemented natively in Sciter and HTMLayout and here is their emulation for the Internet Explorer. Basic principle is simple, CSS declaration like this: li.myclass { prototype: MyBehavior; /* see var MyBehavior below */ } binds class of DOM elements with the “prototype…
Implementation of Behaviors in Internet Explorer
Posted on