PageSourceSearch

https://www.goldenstave.com.au/_js/custom.js?d=2026031001936

js goldenstave.com.au collected 2026-10-02 14:19:59 UTC 4,490 bytes, 117 lines download raw bytes

1/*
2 * Author:	eMedia Campaigns 
3 * Created:	20/11/2019
4 *
5 * Customisation of 'Re-skin of venuenet site'
6 *
7 * Functions are here:
8 * https://s3.amazonaws.com/marketing.showticks.com/_js/main.js
9 */
10
11var document;
12// document ready
13document.addEventListener("DOMContentLoaded", function () {
14    // event list style
15    vnEventList();
16    // social sharing links
17    socialPlatformShare('.facebook_share', 'https://www.facebook.com/sharer/sharer.php?u=');
18    socialPlatformShare('.messengr_share', 'fb-messenger://share/?link=');
19    socialPlatformShare('.elecmail_share', 'mailto:?subject=Check it out this link!&body=Hi there,%0d%0aCheck out this link:%0d%0a');
20    socialPlatformShare('.twitters_share', 'https://twitter.com/share?url=');
21    socialPlatformShare('.linkedin_share', 'https://www.linkedin.com/sharing/share-offsite/?url=');
22    // required field validation
23    reqFieldValid('btnSubmit', 'pnlPage');
24    reqFieldValid('btnLogin', 'ucLogin_formRow');
25    reqFieldValid('btnSignup', 'NewsletterSignup_formRow');
26    reqFieldValid('btnSubmit', 'divContentColumnOne');
27    // video
28    addVideo('home_video', 'emedia_campaigns');
29    vnAddClass('body', '_dark'); // 'dark'
30    if (homeTrue()) {
31        vnAddClass('body', 'home'); // 'home'
32    }
33    // remove rhs
34    if (urlTrue('artists') || urlTrue('privacy') || urlTrue('terms')) {
35        vnAddClass('[id$="divContentColumnOne"]', 'col-md-12');
36        vnAddClass('[id$="divContentColumnTwo"]', 'd-none');
37    }
38    // multi level dropdown
39    multiLevelDropdown();
40    addImageLinks();
41});
42// on load events
43var window;
44window.addEventListener('load', function () {
45    // fb conversion for registration
46    fbRegistrationConversion();
47    // send activity to facebook
48    sendFbActs();
49    // dynamic home content
50    dynamicHomeContent('_lineup', 'schedule/?DayID=2', 'ctl00_ContentPlaceHolder1_scheduleFeed_pnlSchedule');
51})
52// remove rhs
53function changeNavMobileColor() {
54    vnRemoveClass('.navbar-header', 'bg-dark');
55    vnAddClass('.navbar-header', 'bg-warning');
56}
57
58// mg 09/10/24
59function addImageLinks() {
60	var elem;
61
62	elem = document.querySelector('#ctl00_ContentPlaceHolder3_Gallery5_rptFlexSlider_ctl00_imgGalleryLink');
63	if (elem) {
64		elem.href = 'https://www.goldenstave.com.au/pages/supported-charities/';
65	}
66
67    elem = document.querySelector('#ctl00_ContentPlaceHolder3_Gallery3_rptFlexSlider_ctl01_imgGalleryLink');
68	if (elem) {
69		elem.href = 'https://www.goldenstave.com.au/pages/golden-stave-lunch-2023/';
70	}
71
72    elem = document.querySelector('#ctl00_ContentPlaceHolder3_Gallery3_rptFlexSlider_ctl03_imgGalleryLink');
73	if (elem) {
74		elem.href = 'https://www.goldenstave.com.au/pages/golden-stave-lunch-2019/';
75	}
76
77    elem = document.querySelector('#ctl00_ContentPlaceHolder3_Gallery3_rptFlexSlider_ctl04_imgGalleryLink');
78	if (elem) {
79		elem.href = 'https://www.goldenstave.com.au/pages/golden-stave-lunch-2018/';
80	}
81
82    elem = document.querySelector('#ctl00_ContentPlaceHolder3_Gallery3_rptFlexSlider_ctl05_imgGalleryLink');
83	if (elem) {
84		elem.href = 'https://www.goldenstave.com.au/pages/golden-stave-lunch-2017/';
85	}
86
87    elem = document.querySelector('#ctl00_ContentPlaceHolder3_Gallery3_rptFlexSlider_ctl00_imgGalleryLink');
88	if (elem) {
89		elem.href = 'https://www.goldenstave.com.au/galleries/detail.aspx?GalleryID=46';
90	}
91
92    elem = document.querySelector('#ctl00_ContentPlaceHolder3_Gallery3_rptFlexSlider_ctl02_imgGalleryLink');
93	if (elem) {
94		elem.href = 'https://www.goldenstave.com.au/pages/golf-day-2024/';
95    }
96
97    elem = document.querySelector('#ctl00_ContentPlaceHolder3_Gallery4_rptFlexSlider_ctl00_imgGalleryLink');
98    if (elem) {
99        elem.href = 'https://www.goldenstave.com.au/artists/polish-club/';
100    }
101
102    elem = document.querySelector('#ctl00_ContentPlaceHolder3_Gallery4_rptFlexSlider_ctl01_imgGalleryLink');
103    if (elem) {
104        elem.href = 'https://www.goldenstave.com.au/artists/ben-fordham/';
105    }
106    
107    elem = document.querySelector('#ctl00_ContentPlaceHolder3_Gallery4_rptFlexSlider_ctl02_imgGalleryLink');
108    if (elem) {
109        elem.href = 'https://www.goldenstave.com.au/artists/the-radiators/';
110    }
111    
112    elem = document.querySelector('#ctl00_ContentPlaceHolder3_Gallery4_rptFlexSlider_ctl03_imgGalleryLink');
113    if (elem) {
114        elem.href = 'https://www.goldenstave.com.au/artists/william-crighton/';
115    }
116    
117}

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.