Revision 25f5da04 snf-astakos-app/astakos/im/static/im/cloudbar/cloudbar.js
b/snf-astakos-app/astakos/im/static/im/cloudbar/cloudbar.js | ||
---|---|---|
32 | 32 |
} |
33 | 33 |
|
34 | 34 |
var root = $('body'); |
35 |
var bar = $('<div class="header"></div>');
|
|
35 |
var bar = $('<div class="cloudbar"></div>');
|
|
36 | 36 |
var services = $('<ul class="services"></ul>'); |
37 | 37 |
var profile = $('<div class="profile"></div>'); |
38 | 38 |
|
... | ... | |
100 | 100 |
// ie fix |
101 | 101 |
user.hover(function(){$(this).addClass("hover")}, function(){$(this).removeClass("hover")}); |
102 | 102 |
|
103 |
$('.header .profile ul').mouseover(function(){
|
|
103 |
/*$('.cloudbar .profile ul').mouseover(function(){
|
|
104 | 104 |
$(this).parents('.profile').css('backgroundColor','#000'); |
105 | 105 |
|
106 | 106 |
}); |
107 |
$('.header .profile ul').mouseout(function(){
|
|
107 |
$('.cloudbar .profile ul').mouseout(function(){
|
|
108 | 108 |
$(this).parents('.profile').css('backgroundColor','#01A1AE'); |
109 | 109 |
|
110 |
}); |
|
110 |
});*/ |
|
111 |
$('.cloudbar .profile .full a').live('click', function(e){ |
|
112 |
e.preventDefault(); |
|
113 |
$(this).siblings('ul').toggle(); |
|
114 |
}); |
|
111 | 115 |
|
112 | 116 |
var profileWidth = profile.outerWidth(); |
113 | 117 |
$('.header .profile ul').css('width',profileWidth ); |
Also available in: Unified diff