Changeset 16458 for schedule/Module/calendar.php
- Timestamp:
- 05/30/13 08:56:40 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
schedule/Module/calendar.php
r16457 r16458 101 101 var xmlhttp; 102 102 var source = ['Mrk 421','Mrk 501','Crab']; 103 var Data = [[]];103 var SourceData = [[]]; 104 104 var Time = []; 105 105 var line = []; … … 107 107 var val = []; 108 108 var T = []; 109 //intsources = 0;109 var sources = 0; 110 110 111 111 for(sources=0;sources<source.length;sources++) 112 112 { 113 113 alert(sources); 114 Data = new Array(source.length); 114 115 if (window.XMLHttpRequest) 115 116 {// code for IE7+, Firefox, Chrome, Opera, Safari … … 138 139 139 140 140 //GraphData(Data ,sources);141 //document.getElementById('data').innerHTML=Data[sources];141 //GraphData(Data[sources], sources); 142 document.getElementById('data').innerHTML=sources + "...." + Data[sources]; 142 143 } 143 144 } … … 148 149 149 150 } 150 151 GraphData(Data,source.length);152 153 });154 151 155 function GraphData(DataSource, SourceLength)152 /*function GraphData(DataSource, index) 156 153 { 157 154 for(i=0;i<SourceLength;i++) … … 163 160 164 161 } 165 }; 162 };*/ 163 164 }); 165 166 166 167 167
Note:
See TracChangeset
for help on using the changeset viewer.