Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
planning [2019/01/10 11:33]
sioc
planning [2021/04/15 13:56] (Version actuelle)
Ligne 1: Ligne 1:
 ====== Planning ====== ====== Planning ======
 <html> <html>
- +<style> 
-<iframe src="https://beta.club-ea.com/plan.inc/planning.php" id="ifrm" frameborder="0" scrolling="no"> +.responsive { 
-</iframe> +  position: relative; 
-<script> +  display: block; 
-function getDocHeight(doc) { +  height: 0; 
-    doc = doc || document; +  padding: 0; 
-    // stackoverflow.com/questions/1145850/ +  overflow: hidden;
-    var body = doc.body, html = doc.documentElement; +
-    var height = Math.max( body.scrollHeight, body.offsetHeight, Â +
-        html.clientHeight, html.scrollHeight, html.offsetHeight ); +
-    return height;+
 } }
  
-function setIframeHeight(id) { +.responsive iframe { 
-    var ifrm = document.getElementById(id); +  position: absolute; 
-    var doc = ifrm.contentDocument? ifrm.contentDocument:  +  top0; 
-        ifrm.contentWindow.document; +  left: 0; 
-    ifrm.style.visibility = 'hidden'; +  bottom: 0; 
-    ifrm.style.height = "10px"// reset to minimal height ... +  height: 100%; 
-    // IE opt. for bing/msn needs a bit added or scrollbar appears +  width: 100%; 
-    ifrm.style.height = getDocHeight( doc ) + 4 + "px"; +  border: 0;
-    ifrm.style.visibility = 'visible';+
 } }
  
-document.getElementById('ifrm').onload = function() // Adjust the Id accordingly +.plan { 
-    setIframeHeight(this.id);+  padding-bottom: 670% 
 } }
-</script>+</style> 
 +<div class="responsive plan"> 
 + 
 +<iframe src="https://club-ea.com/plan.inc/planning.php" width="98%" class="embed-responsive-item" frameborder="0" scrolling="no"> 
 +</iframe> 
 +</div> 
 </html> </html>