source: trunk/spip/2.1/extensions/magusine-portage2.1/themes/womenlife/java-women.js @ 756

Last change on this file since 756 was 756, checked in by guillermoacedo@…, 14 years ago

se agrego la correccion de magusine para 2.1 basica

  • Property svn:executable set to *
File size: 1.2 KB
Line 
1$(document).ready(function(){
2$("#contexte2 .listagebloc:last").css("border-bottom","0").css("padding-bottom","0");
3$("#navigation .niveau1:last").css("border-left","0");
4
5// fait marcher le menu a deux niveaux
6
7   $('#navigation').children('.niveau1').each(function(){
8        $(this).mouseover(function() {
9        $(this).children('.ulniveau2').show(); 
10        $(this).css("background","url('plugins/magusine/themes/womenlife/images/fond-nav-niv1.png') top left repeat-x #e30071").css("padding-bottom","8px");
11         $(this).children('a').css("color","white");   
12        })
13       
14        $(this).mouseout(function() {
15        $(this).children('.ulniveau2').hide(); 
16        $(this).css("background","none top left repeat-x transparent").css("padding-bottom","2px");
17        $(this).children('a').css("color","#e30071");   
18        });
19        });
20       
21        $('#contexte1 .listageconteneur li').each(function(){
22                hauteur=$(this).find("img").eq(0).height();
23                hauteurtext=$(this).find(".listagetexte").eq(0).height();
24                if (hauteur > hauteurtext){
25                $(this).find(".listagetexte").eq(0).height(hauteur);
26                } 
27        });
28       
29        $('a[href^="http://"]').attr({target: "_blank", title: "Dans une nouvelle fenêtre"});
30       
31});
Note: See TracBrowser for help on using the repository browser.