Changeset 13870 for trunk/FACT++
- Timestamp:
- 05/24/12 15:18:52 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/www/smartfact/index.js
r13850 r13870 414 414 div3.setAttribute("style", "background-position:-575px 50%;"); 415 415 div4.setAttribute("style", "display:none;background-position:-12px -12px;"); 416 div3.onclick = function() { this.style.backgroundColor='rgba(0,0,0,0.77)'; loadPage('fact', z, -z); } 417 div2.onclick = function() { this.style.backgroundColor='rgba(0,0,0,0.77)'; loadPage(fname, z, -dz); } 416 div3.onclick = function() { this.style.backgroundColor='rgba(0,0,0,0.77)'; loadPage('fact', z, -z); } 417 div2.onclick = function() { this.style.backgroundColor='rgba(0,0,0,0.77)'; loadPage(fname, z, -dz); } 418 div4.onclick = function() { this.style.backgroundColor='rgba(0,0,0,0.77)'; loadPage('error', z, +1); } 418 419 419 420 var sp0 = document.createElement("span"); … … 970 971 date2.setTime(header[0]); 971 972 972 $("warn"+z).style.display = header.length!=2 || header[1]==' 1' ? "none" : "";973 $("warn"+z).style.display = header.length!=2 || header[1]=='0' ? "none" : ""; 973 974 974 975 strike(time, date2.getTime()+60000>date1.getTime()); … … 1038 1039 { 1039 1040 // invalidate? 1040 timeoutGraphics = setTimeout(refresh_graphics, 1000);1041 timeoutGraphics = setTimeout(refresh_graphics, 3000); 1041 1042 return; 1042 1043 } … … 1274 1275 1275 1276 var unit = canv.getAttribute("data-data");//.split("/"); 1276 unit = unit.replace("°", "\u00B0"); 1277 unit = unit.replace("°", "\u00B5"); 1277 unit = unit.replace("°", "\u00B0"); 1278 unit = unit.replace("µ", "\u00B5"); 1279 unit = unit.replace("²", "\u00B2"); 1280 unit = unit.replace("³", "\u00B3"); 1278 1281 1279 1282 var min = data[3]+unit … … 1318 1321 unit = unit.replace("°", "\u00B0"); 1319 1322 unit = unit.replace("µ", "\u00B5"); 1323 unit = unit.replace("²", "\u00B2"); 1324 unit = unit.replace("³", "\u00B3"); 1320 1325 1321 1326 var umin = vals[1]+unit;
Note:
See TracChangeset
for help on using the changeset viewer.