/trunk/presentations/scripts/fiche-synthese.js |
---|
7,6 → 7,7 |
* var urlEditionSectionWikiTpl : url pour éditer une section du wiki |
* var urlTexteFormateSectionWikiTpl : url pour obtenir le texte formaté en html d'une section de wiki |
* var pageWikiTaxon : url pour obtenir le texte formaté en html d'une section de wiki |
* var urlPopup = url de base pour les popup contenant du code un peu complexe |
* |
*/ |
634,9 → 635,10 |
}); |
function gererClicIllustrationsFiche() { |
$('#synthese_illustrations img').click(function() { |
var url = $(this).attr('src')/*.replace('CS','XL')*/; |
ouvrirFenetreIllustrationFiche(url, '', 500, 500); |
$('.illustration_cel').live('click', function() { |
var url_image = $(this).attr('src'); |
var url = urlPopup+"?module=popup-galerie&action=fiche&num_nom="+$(this).attr('title')+"&url_image="+encodeURIComponent(url_image); |
window.open(url, '', 'directories=no,titlebar=no,toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no, width='+(400)+', height='+(375)); |
}); |
$('#synthese_repartition img').click(function() { |
/trunk/presentations/scripts/recherche.js |
---|
19,6 → 19,8 |
* |
* var VALEUR_DEFAUT_NOM_VERNA : Contient la valeur par défaut affichée dans le formulaire en mode verna |
* Exemple: Recherche un nom commun |
* |
* var URL_BASE_POPUP : url de base pour les popup contenant du code un peu complexe |
*/ |
var champs_ts = ["#au","#and","#anf","#nom","#bib"]; |
376,10 → 378,10 |
/**------------ Fonctions de gestion du zoom sur les images affichées dans les résultats de recherche ----------------------*/ |
function gererClicIllustrationsResultats() { |
$('.illustration_resultat_cel').click(function() { |
var url = $(this).attr('src')/*.replace('CS','XL')*/; |
var url = $(this).attr('src'); |
var url = URL_BASE_POPUP+"?module=popup-galerie&action=fiche&num_nom="+$(this).attr('title'); |
var titre = trouverNomTaxon($(this)); |
console.log($(this).parent().parent().find('a.lien_fiche_eflore')); |
ouvrirFenetreIllustrationResultat(url, titre, 400, 400); |
window.open(url, titre, 'directories=no,titlebar=no,toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no, width='+(400)+', height='+(375)); |
}); |
$('.illustration_resultat_choro').click(function() { |
/trunk/presentations/styles/popup.css |
---|
31,4 → 31,37 |
border:0; |
border: 1px solid lightgrey; |
padding:2px; |
} |
} |
/*----------------------------------------------------------------------------------------------------------*/ |
/* Spécifiques popup : GALERIE */ |
#info-img .conteneur-precedent { |
float:left; |
width:10%; |
height:300px; |
} |
#info-img .conteneur-suivant { |
height:300px; |
position:relative; |
width:10%; |
float:right; |
} |
#info-img .conteneur-precedent #precedent, #info-img .conteneur-suivant #suivant { |
position:relative; |
top:50%; |
font-size:1.3em; |
border:none; |
} |
#info-img .conteneur-suivant #suivant { |
float:right; |
text-align:right; |
} |
#info-img .img-cadre { |
float:left; |
width:80%; |
height:300px; |
} |