Difference between revisions of "Team:Tel-Hai"

Line 6: Line 6:
 
         ifrm.setAttribute("src", "http://igemtelhai.wixsite.com/telhaiigem");
 
         ifrm.setAttribute("src", "http://igemtelhai.wixsite.com/telhaiigem");
 
         ifrm.style.width = "100%";
 
         ifrm.style.width = "100%";
         ifrm.style.height = document.documentElement.offsetHeight;
+
         ifrm.style.height = window.innerHeight + 'px';
 
         document.body.appendChild(ifrm);
 
         document.body.appendChild(ifrm);
     alert(document.documentElement.offsetHeight);
+
     alert(window.innerHeight);
 
   });
 
   });
 
</script>
 
</script>

Revision as of 15:06, 20 August 2016