initPage('matchmycar','Opel | Corsa',' #nav-annonces '); $.when( $.getScript("https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.9.0/slick.min.js"), $.getScript("https://cdnjs.cloudflare.com/ajax/libs/elevatezoom/3.0.8/jquery.elevatezoom.min.js") ).then(function( data, textStatus, jqXHR ) { $.getScript(urlPath+"/js/app/annonces/annonce.min.js"), $.getScript(urlPath+"/js/app/gallery.min.js") }); if (document.createStyleSheet){ document.createStyleSheet('https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.9.0/slick.min.css'); document.createStyleSheet('https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.9.0/slick-theme.min.css'); document.createStyleSheet('https://matchmycar.fr/css/gallery.min.css'); } else { $("head").append($("")); $("head").append($("")); $("head").append($("")); }