Revision a13220f8
b/cloudcms/static/cloudcms/js/common.js | ||
---|---|---|
156 | 156 |
function () { |
157 | 157 |
|
158 | 158 |
$(this).animate({ |
159 |
top: '+=-3'
|
|
160 |
}, 0, function() { |
|
159 |
top: '+=-5'
|
|
160 |
}, 300, function() {
|
|
161 | 161 |
if ($(this).find('img').attr('src').indexOf("_top") == -1) { |
162 | 162 |
var src = $(this).find('img').attr('src').replace('.png', '_top.png') |
163 | 163 |
$(this).find('img').attr("src", src); |
... | ... | |
166 | 166 |
}); |
167 | 167 |
$(this).siblings('p').find('img').animate({ |
168 | 168 |
width: '60%' |
169 |
}, 600);
|
|
169 |
}, 300);
|
|
170 | 170 |
}, |
171 | 171 |
function () { |
172 | 172 |
|
173 |
$(this).animate({top: '0'}, 600, function() {
|
|
173 |
$(this).animate({top: '0'}, 300, function() {
|
|
174 | 174 |
var src = $(this).find('img').attr('src').replace('_top.png', '.png') |
175 | 175 |
$(this).find('img').attr("src", src); |
176 | 176 |
}); |
177 | 177 |
$(this).siblings('p').find('img').animate({ |
178 | 178 |
width: '65%' |
179 |
},600);
|
|
179 |
},300);
|
|
180 | 180 |
} |
181 | 181 |
); |
182 | 182 |
|
Also available in: Unified diff