Changeset 13642 for trunk/FACT++
- Timestamp:
- 05/10/12 17:17:19 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/www/index.js
r13623 r13642 513 513 514 514 // --------------------------------------- 515 516 tr = document.createElement("tr");517 tr.setAttribute("class", "row");518 519 515 if (debug == true) 520 516 { 517 518 tr = document.createElement("tr"); 519 tr.setAttribute("class", "row"); 520 521 521 td = document.createElement("td"); 522 522 td.setAttribute("id", "debug"+z); 523 523 td.setAttribute("colspan", "3"); 524 524 tr.appendChild(td); 525 } 526 527 tbody.appendChild(tr);525 526 tbody.appendChild(tr); 527 } 528 528 529 529 // --------------------------------------- … … 533 533 } 534 534 535 function doresize(z)535 function resizeimpl(z, cnt) 536 536 { 537 537 // 393 / 482 488/482 / 200 200+482-488 … … 548 548 var H = window.innerHeight; 549 549 550 var x = parseInt(img.style.height, 10); 551 550 552 var ih = H - h + parseInt(img.style.height, 10); 551 553 … … 555 557 canv.width = W; 556 558 canv.height = ih; 559 560 if ($("table"+z).offsetHeight == H || cnt==2) 561 return; 562 563 resizeimpl(z, ++cnt); 564 } 565 566 function doresize(z) 567 { 568 resizeimpl(z, 0); 557 569 558 570 // ------ debug -----
Note:
See TracChangeset
for help on using the changeset viewer.