taskManagerFrame.html 434 B

1234567891011121314151617
  1. <iframe id="managerFrame" src="../info/taskManager.html" style="border: 0px solid transparent;">
  2. </iframe>
  3. <script>
  4. var managerInIframe = true;
  5. resizeIframe();
  6. $(window).on("resize", function(){
  7. resizeIframe();
  8. })
  9. function resizeIframe(){
  10. $("#managerFrame").css({
  11. "width": window.innerWidth - 14 * 2 + "px",
  12. "height": window.innerHeight - 100
  13. });
  14. }
  15. </script>