blob: 04b9a83c06d32fd89ed8fd5e69db3391f5c0f9c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
$(document).ready(function(){
$(".detail span").click(function() {
$(this).prevAll(".mark:last").click();
});
$(".detail > .mark").click(function() {
if (this.src.indexOf("closed") != -1)
this.src = this.src.replace("closed", "open");
else
this.src = this.src.replace("open", "closed");
$(this).nextAll(".details:first").toggle();
})
$(".details").hide();
})
|