$(document).ready(function() { $('.colclip').sameHeights(); var $el = $('#droite div.paragraphe'); if ($el.is(':visible')) { $('#droite').prepend('
 
'); } /**/ $('a.glossaire').cluetip({splitTitle: '|', positionBy:'auto', arrows:true, clickThrough: false, hoverIntent: { sensitivity: 3, interval: 100, timeout: 500 }, clickThrough: true, fx: { open: 'fadeIn', // can be 'show' or 'slideDown' or 'fadeIn' openSpeed: 150} }); if($(window).width() > 640) { window.onscroll = function() { if (window.pageYOffset >= 220){ $('#menu1').addClass("topfixed centered"); $('#libelle_home').html(" Fermipose"); if ( $('#droite').height() < 500) { $('#droite').css({position: 'fixed', 'margin-left': '700px', top: '60px'}); } if ( $('#gauche').height() < 500) { $('#gauche').css({position: 'fixed', 'margin-left': '20px', top: '60px'}); } } else { $('#menu1').removeClass("topfixed centered"); $('#libelle_home').html(" "); if ( $('#droite').height() < 500) { $('#droite').css({position: 'relative', 'margin-left':'0px','top':''}); } if ( $('#gauche').height() < 500) { $('#gauche').css({position: 'relative', 'margin-left':'20px','top':''}); } } } } }); /* Plugin to make variable height divs equal heights */ $.fn.sameHeights = function() { $(this).each(function(){ var tallest = 0; $(this).children().children(".paragraphe").each(function(i){ if (tallest < $(this).height()) { tallest = $(this).height(); } }); $(this).children().children(".paragraphe").css({'height': tallest}); }); return this; }; function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i