ActiveX Q&A

  1. How Scriplets relate to ActiveX technology?:

    Details

    DHTML Scriplets resemble ActiveX Controls. In fact Scriptlets are ActiveX controls. Internet Explorer is shipped with Microsoft Scriptlet Component that has DHTML parsing engine interpreting DHTML scriptlet code. Like ActiveX controls scriptlets are working by default for Internet Explorer 4.0 or later, they are called on client ( container ) by <object> tag. Unlike ActiveX controls scriptlets do not have 128-bit Class ID, CLSID, and therefore there is no registry entry for a scriptlet.

  2. What is the syntax for calling Scriptlet:

    Details

    <object data= "<scriptlet name>.htm" type="text/x-scriptlet"></object>

  3. What is the difference between bubbleEvent and raiseEvent?:

    Details

    Threre are two types of events that scriptlet can fire: 39 standard DHTML events and custom events. Standard events are fired by bubbleEvent, custom events are fired by raiseEvent.

© (c) 2001, Stanislav Malevanny