diff --git a/javascripts.js.html b/javascripts.js.html index 1fe26cba34dc3e64f760052f76da55b3e326262b..64b46771f4a9966ba6164c2cfb0b4c79d66b1576 100644 --- a/javascripts.js.html +++ b/javascripts.js.html @@ -187,7 +187,7 @@ function myInitPages() { if (jQuery('#homeSpecialFeature').size() > 0) { if (jQuery('.hSFItem').size()>1) { initMyHomeSpecialFeature = myHomeSpecialFeature("#homeSpecialFeature",'hSFItem','hSFDecoImg','hSFDecoSpan'); } } - if (jQuery('#menuh').size() > 0) { + if (jQuery('#menuh').size() > 0) { $(document).ready(function(){ $("#menuh").attr('role','navigation')/*.supersubs({ minWidth: 12, // minimum width of sub-menus in em units @@ -212,6 +212,22 @@ function myInitPages() { // Surligner l'evenement en cours var id_anchor = location.hash.substr(1); //Get the word after the hash from the url if (id_anchor) $('#'+id_anchor).parent().addClass('highlight_anchor'); // ajoute la classe highlight_anchor à l'element autour de l'ancre +; +[(#CONFIG{soyezcreateurs/native_tooltips}|=={on}|non) + $(function() { + $('a, input, select, img, button, h2, h3, dd, acronym, abbr, area, strong.agendastatut').tooltip({ + track: false, + delay: 1000, + showURL: false, + showBody: " - ", + fade: 250 + }); + }); +] + $(".escapelinks a").focus( function() { $(".escapelinks").removeClass("escapelinks"); } ); +} +; +function myInitLayout() { if (CanceladjustLayout != true) { adjustLayout(); $("body").resize( @@ -229,18 +245,6 @@ function myInitPages() { onAjaxLoad(adjustLayout); // Merci Marcimat sur IRC ! } ; -[(#CONFIG{soyezcreateurs/native_tooltips}|=={on}|non) - $(function() { - $('a, input, select, img, button, h2, h3, dd, acronym, abbr, area, strong.agendastatut').tooltip({ - track: false, - delay: 1000, - showURL: false, - showBody: " - ", - fade: 250 - }); - }); -] - $(".escapelinks a").focus( function() { $(".escapelinks").removeClass("escapelinks"); } ); } ; /* BLACK TRANSPARENT BACKGROUNDS */ @@ -807,6 +811,10 @@ function prop(n) { $(document).ready(function() { myInitPages(); + // Ceci devrait régler le problème de l'ajustement des colonne pas toujours fait + $(window).load(function() { + myInitLayout(); + }); }); [(#CHEMIN{images/sc_javascript_perso.js.html}|?{'/* Complément personnalisé du JS */'}) diff --git a/paquet.xml b/paquet.xml index d4de020387bc30fceaad7749f7853cfd939d5a7b..989cc78ad65f61c6c3cd2219b8dc1f9485238f51 100644 --- a/paquet.xml +++ b/paquet.xml @@ -1,7 +1,7 @@ <paquet prefix="soyezcreateurs" categorie="squelette" - version="4.0.36" + version="4.0.37" etat="test" compatibilite="[3.0.20;3.1.*]" logo="img_pack/soyezcreateurs_48.png"