Changes between Version 2 and Version 3 of adeiNewModule
- Timestamp:
- 07/16/09 16:22:12 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
adeiNewModule
v2 v3 19 19 20 20 == XML Module == 21 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: 22 22 {{{<div id="module_div" class="xml_module">Loading...</div>}}} 23 23 The ''moduleJS'' function initializes new XMLMODULE object supplying the id of div created in ''modulePage'' function: 31 31 function alarmsJS() { 32 32 echo 'alarms = new XMLMODULE("alarms_div");'; 33 echo 'alarms.SetModuleType(CONTROL_MODULE_TYPE);';34 33 return "alarms"; 35 34 }