4ca21c3e
Alexey Boroda
first commit
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
$(document).ready(function(){
$(".active").click(function(){
return false;
});
$(".post_1 .more").click(function(){
$(this).parent().find('.spoiler').toggle(500);
return false;
});
$(".button2 a, .button3 a").click(function(){
$(this).toggleClass('opened');
$(this).parent().find('.spoiler').toggle(500);
$(this).parent().find(".checked").removeClass("checked");
return false;
});
$('.spoiler input[type="radio"]').click(function(){
if($(this).is(":checked")){
$(this).parent().parent().find(".checked").removeClass("checked");
$(this).parent().addClass('checked');
return false;
}
else{
$(this).parent().removeClass('checked');
return false;
}
});
$(".more_colls").click(function(){
$(this).toggleClass('opened');
$(this).parent().parent().find(".spoiler").toggle(500);
return false;
});
});
|