<script>
document.addEventListener("DOMContentLoaded", function() {
$('#sw-email-capture-submit-btn').unbind('click');
$('#sw-email-capture-submit-btn').click(function(event){
event.preventDefault();
const domain = window.location.host;
const searchValue = $('#sw-email-capture-email-input').val();
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
document.addEventListener("DOMContentLoaded", function() { | |
const category = getUrlParam('category'); | |
if(category) { | |
const existCondition = setInterval(function() { | |
if ($('span[data-value="' + category.trim() + '"]').length) { | |
$('span[data-value="' + category.trim() + '"]').click(); | |
clearInterval(existCondition); | |
} | |
}, 100); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
document.addEventListener("DOMContentLoaded", function () { | |
$('#form1 .row div.col-12.col-md-4').addClass('text-right').addClass('order-1'); | |
}); | |
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function getAirtableData(callback) { | |
const url = 'https://{-your-domain-}/v1/airtable/{your-application-id}/{your-airtable-base-id}/{your-airtable-table-name}/records'; | |
$.ajax({ | |
url: url, | |
type: 'POST', | |
dataType: 'json', | |
contentType: 'application/json; charset=utf-8', | |
data: JSON.stringify({ | |
sortResources: [ | |
], |
<script>
document.addEventListener("DOMContentLoaded", function() {
$('.js-filter').eq(2).addClass('d-none');
$('.js-filter').eq(3).addClass('d-none');
$('.js-filter-option').click(function(){
setTimeout(function(){
let containsShoes = false;
let containsJeansOrPants = false;
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"tables": [ | |
{ | |
"id": "tbl2g31JZOaP5v35E", | |
"name": "Jobs", | |
"primaryFieldId": "fldKWJFMfX27nTZAw", | |
"fields": [ | |
{ | |
"type": "singleLineText", | |
"id": "fldKWJFMfX27nTZAw", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
#pricing9584 .sw-pricing-column{ max-width: 18%; flex: 0 0 18%; text-align: center; padding: 16px 15px; box-sizing: border-box; } #pricing9584 .pricing-table .features:not(.buttons-row):hover{ background-color: #f3f4f8; } #pricing9584 .pricing-table .features{ align-items: baseline; } #pricing9584 .pricing-table { border-top: 1px solid #f3f4f8; padding: 30px 0; } #pricing9584 .pricing-header { margin-bottom: .83333333vw; } #pricing9584 .table-name{ font-weight: 500; } #pricing9584 .column--first{ max-width: 28%; flex: 0 0 28%; text-align: left; color: #1C2B41; font-size: 18px; padding: 10px 12px; } #pricing9584 .pricing-tier{ font-size: 18px; } #pricing9584 .pricing-title{ color: #1C2B41; position: relative; font-size: 1.16666667vw; line-height: 1.66666667vw; font-weight: 500; } #pricing9584 .sw-pricing-title--big{ font-size: 1.5vw; line-heig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
/** this needs to be changed if block ids get changed score fields get changed **/ | |
const blockMapping = { | |
'list-details7': { | |
'field1' : 'F.O.R. Score', | |
'field2' : 'Status FOR' | |
}, | |
'list-details6': { | |
'field1' : 'High Score 4', | |
'field2' : 'Test 4 Status' |