Subversion-Projekte lars-tiefland.zeldi.de_alt

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
2 lars 1
$(document).ready(function(){
2
 
3
    $('.topnav_li').mouseover(function(){
4
        var dirId = parseInt( $(this).attr('id') );
5
        if($.isNumeric(dirId)) {
6
            $('.subnav_special').load('/module/subnav.php?dirId='+dirId);
7
        }
8
    });
9
 
10
 
11
    $('.subdir_box').mouseenter(function(){
12
        var classNames = $('.subnav_special').attr('class');
13
        if(classNames.indexOf('nochange')>0) {
14
            return true;
15
        }
16
        var dirId = parseInt( $(this).attr('id') );
17
        if($.isNumeric(dirId)) {
18
            $('.subnav_special').load('/module/subnav.php?dirId='+dirId);
19
        }
20
    });
21
 
22
    $('.subdir_box').click(function(){
23
        var classNames = $('.subnav_special').attr('class');
24
        if(classNames.indexOf('nochange')>0) {
25
            var dirId = parseInt( $(this).attr('id') );
26
            if($.isNumeric(dirId)) {
27
                $('.subnav_special').load('/module/subnav.php?dirId='+dirId);
28
            }
29
        }
30
    });
31
 
32
});