Revision 0c887794 snf-astakos-app/astakos/im/static/im/cloudbar/cloudbar.js

b/snf-astakos-app/astakos/im/static/im/cloudbar/cloudbar.js
71 71
            if (i == 0){
72 72
                username.text(el.name);
73 73
                username.attr('href', el.url);
74
                user.removeClass('full');
74 75
            }else{
75 76
                var link = $("<a />");
76 77
                link.text(el.name);
......
78 79
                var li = $("<li />");
79 80
                li.append(link);
80 81
                usermenu.append(li);
82
                user.addClass('full');
81 83
            }
82 84
        });
83 85
    });
......
97 99

  
98 100
    // ie fix
99 101
    user.hover(function(){$(this).addClass("hover")}, function(){$(this).removeClass("hover")});
102
    
103
    $('.header .profile ul').mouseover(function(){
104
        $(this).parents('.profile').css('backgroundColor','#000');
105
        
106
    });
107
     $('.header .profile ul').mouseout(function(){
108
        $(this).parents('.profile').css('backgroundColor','#01A1AE');
109
        
110
    });
111
    
112
    var profileWidth = profile.outerWidth(); 
113
    $('.header .profile ul').css('width',profileWidth );
114

  
115
    
116
    
117
    
100 118
});

Also available in: Unified diff