PageSourceSearch

https://damelin.co.za/wp-content/themes/emotions-child/js/custom.js?ver=1.0.0

js damelin.co.za collected 2026-09-24 23:37:26 UTC 1,997 bytes, 97 lines download raw bytes

1/*  Single course Apply and Express link */
2jQuery(document).ready(function () {
3
4	var campusselect = 'false';
5
6	jQuery('#province').change(function () {
7		var value = jQuery(this).val();
8		if (value == -1 || value == null) {
9			alert('Please select a Campus');
10		}
11		else {
12			campusselect = 'true';
13			jQuery("#applyLink").removeClass("disabled");
14			jQuery("#expressLink").removeClass("disabled");
15
16		}
17	});
18
19	jQuery('#applyLink').click(function () {
20
21
22		if (campusselect == 'true') {
23			redirectToWisenetForm();
24		}
25		else {
26			alert('Please select a Campus');
27			jQuery('#province').focus();
28		}
29
30	});
31
32	jQuery('#expressLink').click(function () {
33
34
35		if (campusselect == 'true') {
36			redirectToWisenetForm('Express');
37		}
38		else {
39			alert('Please select a Campus');
40			jQuery('#province').focus();
41		}
42
43	});
44
45});
46
47//Slide out on click
48
49jQuery(document).ready(function () {
50	jQuery(".tabsection").on("click", function () {
51		var $this = jQuery(".peek");
52		if ($this.hasClass("open")) {
53			$this
54				.animate(
55					{
56						right: "-345px",
57					},
58					500
59				)
60				.removeClass("open");
61		} else {
62			$this
63				.animate(
64					{
65						right: 0,
66					},
67					500
68				)
69				.addClass("open");
70		}
71	});
72});
73
74//Study with us Jquery
75
76jQuery(document).ready(function($) {
77    const menuButton = $("#menuButton");
78    const menuContent = $("#menuContent");
79    const menuItems = $(".slideright-menu-item");
80
81    menuButton.on('click', function () {
82        if (menuContent.hasClass("show")) {
83            menuItems.addClass("reverse").last().one("animationend", function () {
84                menuContent.removeClass("show");
85                menuItems.removeClass("reverse");
86            });
87        } else {
88            // Remove and add 'show' class to restart the animation
89            menuContent.removeClass("show").width();
90            menuContent.addClass("show");
91
92            menuItems.each(function(i) {
93                $(this).removeClass("reverse");
94            });
95        }
96    });
97});

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.