Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 1415 | Rev 1417 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1410 aurelien 1
$(document).ready(function() {
990 isa 2
 
1410 aurelien 3
	$('#smartflore-illustrations-galerie-carousel').carousel()
4
	$('#smartflore-footer-button-sources').click(function() {
5
		voirSources();
6
	});
990 isa 7
 
1410 aurelien 8
	function voirSources() {
9
		var w = window.open();
10
		var html = $("#smartflore-sources").html();
11
 
12
	    $(w.document.body).html(html);
990 isa 13
	}
14
 
1415 aurelien 15
	if(navigator.userAgent.match(/Android/i)){
16
	    window.scrollTo(0,1);
1416 aurelien 17
	    window.alert("ergeg");
1415 aurelien 18
	}
1413 aurelien 19
 
1410 aurelien 20
	//TODO gérer la fonction de swipe sur le téléphone
990 isa 21
	// Slider images : bootstrap
1410 aurelien 22
	/*if (document.getElementById('slider-pictures')) {
990 isa 23
		$('#slider-pictures').hide();
24
		$('#slider-pictures').swiperight(function() {
25
			$('#slider-pictures').carousel('prev');
26
		});
27
		$('#slider-pictures').swipeleft(function() {
28
			$('#slider-pictures').carousel('next');
29
		});
1410 aurelien 30
	}*/
31
});