- Timestamp:
- 06/02/13 16:12:35 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
schedule/Module/calendar.php
r16599 r16600 99 99 var year; 100 100 var month; 101 var source = ["Mrk 421","Mrk 501"];102 101 function testData() 103 102 { 104 103 //calls the xml request in a loop based on the current sources 105 104 var source = ["Mrk 421","Mrk 501"]; 106 105 for (i = 0; i<source.length; i++) 107 106 { 108 107 testXMLData(i, source); 108 $('#data').append('1st'+source); 109 109 } 110 110 } … … 113 113 { 114 114 var testXML; 115 $('#data').append(' xmlData pass'+source + " "+index); 115 116 testXML = new XMLHttpRequest(); 116 117 //NOTE: previous errors on the request was caused by appending "http://www.fact-project.org" … … 126 127 { 127 128 displayXMLData(dataSource, source); //this will be called when the last data from the list is read 129 $('#data').append('successfully load'+source +""+dataSource); 128 130 } 129 131 } … … 135 137 { 136 138 //This function splits the lines of data per data source 137 var dataGraph = new Array( );139 var dataGraph = new Array(source.length); 138 140 for (i=0; i<source.length; i++) 139 141 {
Note:
See TracChangeset
for help on using the changeset viewer.