Browse Source

code spécifique dans fichier spécifique

master
Fa_b 1 year ago
parent
commit
d102e6a082
2 changed files with 6 additions and 5 deletions
  1. +0
    -5
      head_js/dist.html
  2. +6
    -0
      inclure/article-dernier.html

+ 0
- 5
head_js/dist.html View File

@ -48,10 +48,5 @@
e.preventDefault();
window.open(this.href);
});
var hviewport = $(window).height();
var hheader = $('.header').height().toFixed();
console.log(hviewport - hheader);
$(".owl-slide > a > img").css("max-height",hviewport - hheader);
});
</script>

+ 6
- 0
inclure/article-dernier.html View File

@ -30,4 +30,10 @@
</div>
</div>
</div>
<script type="text/javascript">
var hviewport = $(window).height();
var hheader = $('.header').height().toFixed();
// console.log(hviewport - hheader);
$(".owl-slide > a > img").css("max-height",hviewport - hheader);
</script>
</BOUCLE_une>

Loading…
Cancel
Save