Changeset 13943
- Timestamp:
- 05/27/12 18:54:03 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/www/smartfact/index.js
r13935 r13943 477 477 var tr = $new("tr"); 478 478 tr.setAttribute("class", "row"); 479 480 var cols0 = cols[0]; 479 481 if (valid(cols[0])) 480 tr.setAttribute("onclick", "this.style.background='#ccb'; loadPage('"+cols[0]+"', "+z+", -1);"); 482 tr.onclick = function () { this.style.background='#ccb'; loadPage(cols0, z, -1); }; 483 484 var cols3 = cols[3]; 481 485 if (valid(cols[3])) 482 tr. setAttribute("onclick", "this.style.background='#ccb'; loadPage('"+cols[3]+"', "+z+", +1);");486 tr.onclick = function () { this.style.background='#cbb'; loadPage(cols3, z, +1); }; 483 487 484 488 var td0 = $new("td");
Note:
See TracChangeset
for help on using the changeset viewer.