Javascript quand la page est chargée fix2
This commit is contained in:
parent
8d651e6d7b
commit
c36769923c
@ -954,7 +954,7 @@
|
|||||||
<?php include('include_foot.html'); ?>
|
<?php include('include_foot.html'); ?>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
$( document ).ready(function(){$('.carousel').each(function(){
|
window.onload = function(){$('.carousel').each(function(){
|
||||||
var items = $(this).find(".item"),
|
var items = $(this).find(".item"),
|
||||||
heights = [],
|
heights = [],
|
||||||
tallest;
|
tallest;
|
||||||
@ -979,7 +979,7 @@
|
|||||||
normalizeHeights(); //run it again
|
normalizeHeights(); //run it again
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
})})
|
})}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
Loading…
Reference in New Issue
Block a user