Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
planning [2019/01/10 12:05] sioc |
planning [2021/04/15 13:56] (Version actuelle) |
||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
====== Planning ====== | ====== Planning ====== | ||
< | < | ||
- | <script>Â | + | <style>Â |
- | function adjustIframeHeight(iframe, | + | .responsive |
+ | position: relative;Â | ||
+ | display: block;Â | ||
+ | height: 0;Â | ||
+ | padding: 0;Â | ||
+ | overflow: hidden;Â | ||
+ | } | ||
- | var height = 0, $frame = $(iframe);Â | + | .responsive |
- | | + | position: absolute;Â |
- | Â | + | |
- | | + | left: 0;Â |
- | if( typeof $frame.contents()!=null && typeof $frame.contents() !=' | + | |
- | curHeight = $frame.contents().find(' | + | height: 100%;Â |
- | | + | |
- | } else {Â | + | |
- | $frame.css(' | + | } |
- | }Â | + | |
- | },200); | + | |
+ | .plan { | ||
+ | padding-bottom: | ||
} | } | ||
- | </script>Â | + | </style>Â |
- | <iframe src=" | + | <div class=" |
+ | Â | ||
+ | <iframe src=" | ||
</ | </ | ||
+ | </ | ||
- | < | ||
- | $(function(){ | ||
- | adjustIframeHeight('# | ||
- | }); | ||
- | </ | ||
</ | </ |