Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 551 → Rev 552

/trunk/presentations/scripts/eflore.js
5,12 → 5,12
 
$(document).ready(function() {
$('body').on('click', 'a.lien-externe, a.lien_externe', ouvrirFenetreExterne);
$('body').on('click', '.mailto', ouvrirPopUpContact);
$('body').on('click', 'a.mailto', ouvrirPopUpContact);
});
 
function ouvrirFenetreExterne(event) {
event.preventDefault();
window.open($(this).attr('href'));
top.open($(this).attr('href'));
}
 
function ouvrirPopUpContact(event) {
/trunk/modules/popup_illustrations/squelettes/popup_fiche_illustrations.tpl.html
14,7 → 14,7
<a class="mailto" href="<?= $urlContact ?>">(Contacter ...)</a>
</dd>
<dt>Date de création</dt><dd><?= $image['date'] ?></dd>
<dt>Licence</dt><dd><a href="http://www.tela-botanica.org/page:licence">CC-BY-SA</a></dd>
<dt>Licence</dt><dd><a class="lien-externe" href="http://www.tela-botanica.org/page:licence">CC-BY-SA</a></dd>
</dl>
</div>
</div>