523,17 → 523,34 |
} |
|
//+----------------------------------------------------------------------------------------------------------+ |
// Images CEL |
// ancienne fonction CEL |
function ouvrirPopUpImgCel(event) { |
event.preventDefault(); |
window.open($(this).attr('href'), "Photo "+$(this).children("img").attr("alt"), |
'height=750, width=630, top=100, left=100, toolbar=no, menubar=no, location=no, resizable=yes, scrollbars=yes, status=no'); |
'height= 750, width= 630, top=100, left=100, toolbar=no, menubar=no, location=no, resizable=yes, scrollbars=yes, status=no'); |
} |
|
|
//Pop Up images |
function ouvrirPopUpImg(event) { |
event.preventDefault(); |
window.open($(this).attr('href'),"Photo "+$(this).children("img").attr("alt"), |
'height='+ event.data.h +', width='+ event.data.w +', top='+ event.data.t +', left='+ event.data.l |
+', toolbar='+ event.data.toolbar +', menubar='+ event.data.menubar +', location=' |
+ event.data.location +', resizable='+ event.data.resizable +', scrollbars='+ event.data.scrollbars |
+', status='+ event.data.status ); |
} |
|
|
//+----------------------------------------------------------------------------------------------------------+ |
// Initialisation |
var fancyboxinitialise = false; |
var param_popup_Coste = {h: 650, w: 550, t: 100, l: 100, |
toolbar: 'no', menubar: 'no', location: 'no', resizable: 'yes', scrollbars: 'yes', status: 'no'}; |
|
var param_popup_Cel = {h: 750, w: 630, t: 100, l: 100, |
toolbar: 'no', menubar: 'no', location: 'no', resizable: 'yes', scrollbars: 'yes', status: 'no'}; |
|
//Initialisation |
$(document).ready(function() { |
lierModulesEtOnglets(); |
568,8 → 585,9 |
}); |
}); |
|
$('.lien-image-cel').live('click', ouvrirPopUpImgCel); |
|
$('.lien-image-cel').live('click', param_popup_Cel , ouvrirPopUpImg); |
$('.lien-image-coste').live('click', param_popup_Coste , ouvrirPopUpImg); |
|
creerMenuOngletsFermes(); |
afficherOngletsPourNiveau(); |
ajouterTitreSurvolOnglets(); |