Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 1419 | Rev 1422 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1419 Rev 1420
1
$(document).ready(function() {	
1
$(document).ready(function() {	
2
	// Activation du carousel d'images
2
	// Activation du carousel d'images
3
	$('#smartflore-illustrations-galerie-carousel').carousel();
3
	$('#smartflore-illustrations-galerie-carousel').carousel();
4
	
4
	
5
	// Pour que les sources s'affichent dans une nouvelle fenêtre
5
	// Pour que les sources s'affichent dans une nouvelle fenêtre
6
	$('#smartflore-footer-button-sources').click(function() {
6
	$('#smartflore-footer-button-sources').click(function() {
7
		voirSources();
7
		voirSources();
8
	});
8
	});
9
	
-
 
10
	// Pour faire disparaître la barre d'url du navigateur sur le premier toucher de l'utilisateur
-
 
11
	$('body').on('click', '*', function() {
-
 
12
        screenfull.request();
-
 
13
    });
-
 
14
	
9
	
15
	function voirSources() {
10
	function voirSources() {
16
		var w = window.open();
11
		var w = window.open();
17
		var html = $("#smartflore-sources").html();
12
		var html = $("#smartflore-sources").html();
18
	
13
	
19
	    $(w.document.body).html(html);
14
	    $(w.document.body).html(html);
20
	}
15
	}
21
});
16
});