Javascript quand la page est chargée fix2
This commit is contained in:
parent
8d651e6d7b
commit
c36769923c
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue