Changes between Version 2 and Version 3 of adeiNewModule

Show
Ignore:
Author:
csa (IP: 141.52.232.84)
Timestamp:
07/16/09 16:22:12 (15 years ago)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • adeiNewModule

    v2 v3  
    1919 
    2020== XML Module == 
    21  This module uses an ''ADEI service'' generating XML content and XSLT stylesheet to update information on the page. The ''modulePage'' function should just define a single ''div'' element: 
     21This module uses an ''ADEI service'' generating XML content and XSLT stylesheet to update information on the page. The ''modulePage'' function should just define a single ''div'' element: 
    2222     {{{<div id="module_div" class="xml_module">Loading...</div>}}} 
    2323The ''moduleJS'' function initializes new XMLMODULE object supplying the id of div created in ''modulePage'' function: 
    3131  function alarmsJS() {  
    3232    echo 'alarms = new XMLMODULE("alarms_div");'; 
    33     echo 'alarms.SetModuleType(CONTROL_MODULE_TYPE);'; 
    3433    return "alarms"; 
    3534  }