|
Lines 16-32
Link Here
|
| 16 |
"sPaginationType": "four_button" |
16 |
"sPaginationType": "four_button" |
| 17 |
})); |
17 |
})); |
| 18 |
|
18 |
|
| 19 |
$(".notice").hide(); |
19 |
var noticelistener = function(e) { |
| 20 |
$(".notice-title").click(function(e){ |
|
|
| 21 |
$(this).closest("tr").children().children(".notice").toggle(); |
20 |
$(this).closest("tr").children().children(".notice").toggle(); |
| 22 |
e.preventDefault(); |
21 |
e.stopPropagation(); |
|
|
22 |
}; |
| 23 |
|
| 24 |
$(".notice-title").click(noticelistener); |
| 25 |
|
| 26 |
$("#noticestable").on("draw.dt page.dt search.dt order.dt", function(e) { |
| 27 |
$(".notice-title").click(noticelistener); |
| 23 |
}); |
28 |
}); |
| 24 |
|
29 |
|
| 25 |
}); |
30 |
}); |
| 26 |
//]]> |
31 |
//]]> |
| 27 |
</script> |
32 |
</script> |
| 28 |
<style type="text/css"> |
33 |
<style type="text/css"> |
| 29 |
p.notice { display: none; } |
34 |
div.notice { display: none; } |
| 30 |
a.notice-title { font-weight: bold; display: block; } |
35 |
a.notice-title { font-weight: bold; display: block; } |
| 31 |
</style> |
36 |
</style> |
| 32 |
</head> |
37 |
</head> |
| 33 |
- |
|
|