blob: 55c9b1327af4313e6bf5f1f006153453a023947a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
$(document).ready(function() {
$('.member-button').on('click', function() {
if ($('.hidden-menu:visible').length === 0) {
$('.hidden-menu').fadeIn();
} else {
$('.hidden-menu').fadeOut();
}
$('.button').css(
'boxShadow',
$('.button').css('boxShadow') === 'none' ? '0 0 20px #333' : 'none'
);
$(this).css('opacity', $(this).css('opacity') == '0.6' ? 1 : 0.6);
});
});
|