Changeset 13804 for trunk/FACT++/www
- Timestamp:
- 05/21/12 16:09:26 (13 years ago)
- Location:
- trunk/FACT++/www/smartfact
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/www/smartfact/index.css
r13747 r13804 1 body { 2 overflow-x: hidden; 3 overflow-y: auto; 4 } 5 1 6 .thead { 2 7 background: #23a0da url(img/gradient.png) bottom left repeat-x; -
trunk/FACT++/www/smartfact/index.js
r13768 r13804 202 202 for (var i=0; i<args.length; i++) 203 203 { 204 switch (args[i]) 205 { 206 case "max": $("body").setAttribute("data-max", "yes"); continue; 207 } 208 204 209 var entry = args[i].split('='); 205 210 if (entry.length!=2) … … 345 350 table.cellPadding = "0px"; 346 351 /*table.width = "100%";*/ 347 table.setAttribute("style", "overflow:hidden;position:fixed;top:0px;left:"+window.innerWidth+"px;"); 352 //table.setAttribute("style", "overflow:hidden;position:fixed;top:0px;left:"+window.innerWidth+"px;"); 353 table.setAttribute("style", "position:absolute;top:0px;left:"+window.innerWidth+"px;"); 348 354 349 355 // ----------------------------------------------------- … … 725 731 return; 726 732 } 727 */ 728 729 var ih = H - h + parseInt(img.style.height, 10); 733 */ 734 735 var max = $("body").getAttribute("data-max")=="yes"; 736 737 738 var ih = max ? W : H - h + parseInt(img.style.height, 10); 730 739 731 740 img.style.width = W +"px";
Note:
See TracChangeset
for help on using the changeset viewer.