Difference between revisions of "Team:Tel-Hai"

Line 8: Line 8:
 
         ifrm.style.width = "100%";
 
         ifrm.style.width = "100%";
 
         ifrm.style.height = window.innerHeight + 'px';
 
         ifrm.style.height = window.innerHeight + 'px';
         document.body.appendChild(ifrm);
+
         document.body.appendChild(ifrm);  
        var iframeDocument = ifrm .contentDocument || ifrm .contentWindow.document;
+
 
+
        if (iframeDocument) {
+
 
+
          iframeContent = iframeDocument.getElementById('frameBody');
+
alert(iframeDocument);
+
          //iframeDocument.getElementById('WIX_ADSdesktopWADTop').style.display = "none";
+
alert(iframeDocument.getElementById('WIX_ADSdesktopWADTop'));
+
 
+
 
+
        }
+
 
+
 
   });
 
   });
 
</script>
 
</script>

Revision as of 15:43, 20 August 2016