source: trunk/spip/2.1/extensions/magusine-portage2.1/themes/thinner/javascript.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

File size: 704 bytes
Line 
1 $(document).ready(function(){
2        $("#navigation .niveau1").not(".courante").children(".ulniveau2").hide();
3        $("#navigation .niveau1").not(".courante").hover(
4                        function(){
5                        $(this).children(".ulniveau2").slideDown("fast");
6                        },
7                        function(){
8                        //$(this).children(".ulniveau2").slideUp("slow");       
9                        });
10                       
11                        $("#navigation").bind("mouseleave",function(){
12      $("#navigation .niveau1").not(".courante").children(".ulniveau2").slideUp("slow");
13    });
14   
15    var hauteurcontexte = ($("#contextes").height()) +342;
16    var hauteurcorps = $("#corps").height();
17    if ( hauteurcontexte > hauteurcorps) { $("#corps").height(hauteurcontexte); } else { $("#ccontexte").height(hauteurcorps); }
18 });
19 
20 
Note: See TracBrowser for help on using the repository browser.