Rev 1413 | Rev 1416 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
$(document).ready(function() {
$('#smartflore-illustrations-galerie-carousel').carousel()
$('#smartflore-footer-button-sources').click(function() {
voirSources();
});
function voirSources() {
var w = window.open();
var html = $("#smartflore-sources").html();
$(w.document.body).html(html);
}
if(navigator.userAgent.match(/Android/i)){
window.scrollTo(0,1);
}
//TODO gérer la fonction de swipe sur le téléphone
// Slider images : bootstrap
/*if (document.getElementById('slider-pictures')) {
$('#slider-pictures').hide();
$('#slider-pictures').swiperight(function() {
$('#slider-pictures').carousel('prev');
});
$('#slider-pictures').swipeleft(function() {
$('#slider-pictures').carousel('next');
});
}*/
});