- Timestamp:
- 05/22/13 14:35:53 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
schedule/Module/calendar.php
r16006 r16008 52 52 <script type="text/javascript">//<![CDATA[ 53 53 $(document).ready(function(){ 54 var source=[]; 55 source.push($('#box2View').text()); 56 document.getElementById('data').innerHTML=source; 54 57 55 }), 58 56 CAL.addEventListener("onSelect", function(){ … … 63 61 var newdata; 64 62 var newtime; 65 63 var source=[]; 64 source.push($('#box2View').text()); 65 document.getElementById('data').innerHTML=source; 66 for(var i = 0; i<source.length;i++) 67 { 66 68 var xmlhttp; 67 69 if (window.XMLHttpRequest) … … 285 287 } 286 288 } 287 xmlhttp.open("GET","http://www.fact-project.org/smartfact/index.php?source="+ 'Mrk+421'+"&time="+year+"-"+month+"-"+day,true);289 xmlhttp.open("GET","http://www.fact-project.org/smartfact/index.php?source="+urlencode(source)+"&time="+year+"-"+month+"-"+day,true); 288 290 xmlhttp.send(); 289 291 $('#Graph').load('chart.php?day='+day+"&month="+month+"&year="+year); 292 } 290 293 291 294 });
Note:
See TracChangeset
for help on using the changeset viewer.