Changeset 15576 for schedule/Module/calendar.php
- Timestamp:
- 05/09/13 00:40:51 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
schedule/Module/calendar.php
r15575 r15576 68 68 { 69 69 var lines =xmlhttp.responseText.split('\n'); 70 //var lineN=lines[4].split(',');71 //var column3=parseFloat(lineN[3]);72 70 var arr = []; 73 71 var Time = []; … … 81 79 } 82 80 //source['Mrk 421']=arr; 83 if(arr.length ==2)81 if(arr.length%2==0) 84 82 { 85 arr+="\n"; 83 arr+="\n"; 84 document.getElementById('data').innerHTML=arr+"Time \n"+Time; 85 86 86 } 87 document.getElementById('data').innerHTML=arr+"Time \n"+Time; } 87 else 88 document.getElementById('data').innerHTML=arr+"Time \n"+Time; 89 } 88 90 } 89 91 xmlhttp.open("GET","http://www.fact-project.org/smartfact/index.php?source="+'Mrk+421'+"&time="+year+"-"+month+"-"+day,true);
Note:
See TracChangeset
for help on using the changeset viewer.