|
|
The steps to create projects within JavaScript are as
follows:
-
Using Notepad or another HTML editor copy
the statements below into the body portion of the HTML document.
You only need to add the states for the control you intend to use.
<object codebase="ExceleTel.cab"
CLASSID="clsid:0F05578D-6221-45CC-BDDC-3BACAC041219"
id="etLine1" VIEWASTEXT width="24"
height="24"> </object>
<object codebase="ExceleTel.cab" CLASSID="clsid:9CCB0EB7-CE49-4837-8079-2FF5985F59AC"
id="etPhone1" VIEWASTEXT width="24"
height="24"> </object>
<object codebase="ExceleTel.cab" CLASSID="clsid:1DEC032F-0253-4880-BE67-65BF74CDFD2C"
id="etPlay1" VIEWASTEXT width="24"
height="24"> </object>
<object codebase="ExceleTel.cab" CLASSID="clsid:DCE9E512-1251-4AA3-A761-D743AC48169D"
id="etRecord1" VIEWASTEXT width="24"
height="24"> </object>
This must be done before any attempts to reference the
etLine, etPhone, etPlay or etRecord controls found in the TeleTools
etTT37.exe ActiveX component.
Some HTML editors may also allow you to select an ActiveX control from
the menu bar.
-
Add the etTTConst.js file. It contains
definitions for interpreting information from telephony devices.
Using Notepad or another HTML editor copy this statement into the body
portion of the HTML document:
<script SRC="etConst.js"
language="JavaScript"> </script>
This must be done before referencing any of TeleTools
TAPI constants.
When your application is complete you should include only the
constants required.
When your application is complete you should include only the
constants required. This will improve performance.
-
Add etLineProperties.js file. This is
where you have design-time properties stored for example the serial
number information.
<script SRC="etLineProperties.js"
language="JavaScript"> </script>
Be sure to review the information in the "Getting
Started | Why Serial Numbers Are Important" topic of the ExceleTel
TeleTools help file.
|