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

  • Property svn:executable set to *
File size: 602 bytes
Line 
1 $(document).ready(function(){
2 
3   // fait marcher le menu a deux niveaux
4   $('#navigation').children('.niveau1').each(function(){
5        $(this).mouseover(function() {
6        $(this).children('.ulniveau2').show();         
7        })
8       
9        $(this).mouseout(function() {
10        $(this).children('.ulniveau2').hide();         
11        })
12        });     
13       
14        window.setTimeout("redresse();",500);
15        $(window).resize(function(){
16        redresse();
17        });
18       
19 });
20 
21 // hacke la hauteur du bandeau par rapport a la navigation
22function redresse(){
23        var hauteur= $("#navigation").height();
24        $("#bandeau").height(120 + (hauteur-22));
25}
Note: See TracBrowser for help on using the repository browser.