Changeset 16457
- Timestamp:
- 05/30/13 08:29:46 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
schedule/Module/calendar.php
r16456 r16457 128 128 { 129 129 130 //Data[sources]= new Array(); 131 //Data[sources]= new Array(); 132 130 Data[sources]= new Array(); 131 133 132 line=xmlhttp.responseText.split('\n'); 134 133 for(row=0;row<line.length;row++) … … 150 149 } 151 150 152 GraphData(Data,source.length); 153 154 151 GraphData(Data,source.length); 155 152 156 153 }); 157 154 158 function GraphData( array, index)155 function GraphData(DataSource, SourceLength) 159 156 { 160 for(i=0;i< index;i++)157 for(i=0;i<SourceLength;i++) 161 158 { 162 for(j=0;j< array[i].length;j++)159 for(j=0;j<DataSource[i].length;j++) 163 160 { 164 document.getElementById('day').innerHTML= array[index];161 document.getElementById('day').innerHTML=DataSource[j]; 165 162 } 166 163
Note:
See TracChangeset
for help on using the changeset viewer.