Difference between revisions of "Template:IONIS Paris/JS"
Line 33: | Line 33: | ||
// Si on a des vidéos, on arrête le caroussel | // Si on a des vidéos, on arrête le caroussel | ||
+ | $(document).ready(function(){ | ||
+ | console.log("ready to play."); | ||
if ($('#myCarousel video') != []) | if ($('#myCarousel video') != []) | ||
{ | { | ||
Line 41: | Line 43: | ||
$('#myCarousel').carousel('cycle'); | $('#myCarousel').carousel('cycle'); | ||
} | } | ||
− | + | }); | |
//NB | //NB | ||
Revision as of 16:27, 7 September 2015