Subversion-Projekte lars-tiefland.ci

Revision

Revision 47 | Details | Vergleich mit vorheriger | Letzte Änderung | Log anzeigen | RSS feed

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