Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 551 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 551 Rev 552
Line 3... Line 3...
3
 * 
3
 * 
4
 */
4
 */
Line 5... Line 5...
5
 
5
 
6
$(document).ready(function() {
6
$(document).ready(function() {
7
	$('body').on('click', 'a.lien-externe, a.lien_externe', ouvrirFenetreExterne);
7
	$('body').on('click', 'a.lien-externe, a.lien_externe', ouvrirFenetreExterne);
8
	$('body').on('click', '.mailto', ouvrirPopUpContact);
8
	$('body').on('click', 'a.mailto', ouvrirPopUpContact);
Line 9... Line 9...
9
});
9
});
10
 
10
 
11
function ouvrirFenetreExterne(event) {
11
function ouvrirFenetreExterne(event) {
12
	event.preventDefault();
12
	event.preventDefault();
Line 13... Line 13...
13
	window.open($(this).attr('href'));
13
	top.open($(this).attr('href'));
14
}
14
}
15
 
15