PageSourceSearch

https://www.labour.gov.za/Style%20Library/_DOL/js/accordion.js

js labour.gov.za collected 2026-10-02 03:16:18 UTC 1,214 bytes, 48 lines download raw bytes

1<script type="text/javascript" src="https://ajax.aspnetcdn.com/ajax/jquery/jquery-1.10.0.min.js"></script>
2
3<script type="text/javascript" src="//code.jquery.com/jquery-1.12.4.js"></script>
4<script type="text/javascript" src="https://cdn.datatables.net/1.10.13/js/jquery.dataTables.min.js"></script>
5<script type="text/javascript" src="https://cdn.datatables.net/1.10.13/js/dataTables.bootstrap.min.js"></script>
6
7<script type="text/javascript">
8
9function accordionLoad() {
10
11$(".accordion-header").removeClass("expanded");
12
13$(".accordion-content").hide();
14
15$(".accordion-header").bind("click",
16function(){
17
18$(this).toggleClass("expanded");
19
20$(this).siblings(".accordion-content").slideToggle();
21
22})
23
24$(".expand-all").bind("click",function(){
25
26$(this).siblings(".accordion").find(".accordion-content").slideDown();
27
28$(this).siblings(".accordion").find(".accordion-header").addClass("expanded");
29
30})
31
32$(".collapse-all").bind("click",function(){
33
34$(this).siblings(".accordion").find(".accordion-content").slideUp();
35
36$(this).siblings(".accordion").find(".accordion-header").removeClass("expanded");
37
38})
39
40}
41
42$(document).ready(function(){
43
44accordionLoad();
45
46});
47
48</script>

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.