Compare commits

...

3 Commits

Author SHA1 Message Date
1212a03441 Image retournée 2018-10-28 16:04:49 +01:00
06ba796342 Revert "Script arret carousel"
This reverts commit 6847f6535a.
2018-10-27 17:28:45 +02:00
2bfce06210 Revert "script correctif"
This reverts commit 7d08fab8e3.
2018-10-27 17:28:41 +02:00
2 changed files with 0 additions and 16 deletions

View File

@ -953,22 +953,6 @@
<?php include('include_foot.html'); ?> <?php include('include_foot.html'); ?>
<script type="text/javascript">
$(document).ready(function(){
var windowHeight = window.innerHeight || document.documentElement.clientHeight
$('.carousel').carousel('pause');
$('.carousel').toArray().forEach(function(element) {
var rect = element.getBoundingClientRect();
if(rect.top <= windowHeight && rect.bottom >= 0) {
element.carousel('cycle');
} else {
element.carousel('pause');
}
});
});
</script>
</body> </body>
</html> </html>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 MiB

After

Width:  |  Height:  |  Size: 1.5 MiB