var pys_datalayer_name = "dataLayer";
window.dataLayer = window.dataLayer || [];
console.log('PixelYourSite Free version 11.2.0.3');
var pysFacebookRest = {"restApiUrl":"https:\/\/www.steelcobuildings.com\/wp-json\/pys-facebook\/v1\/event","debug":""};
https://www.steelcobuildings.com/wp-includes/js/jquery/jquery.min.js
(function(){var dbpr=100;if(Math.random()*100>100-dbpr){var d="dbbRum",w=window,o=document,a=addEventListener,scr=o.createElement("script");scr.async=!0;w[d]=w[d]||[];w[d].push(["presampling",dbpr]);["error","unhandledrejection"].forEach(function(t){a(t,function(e){w[d].push([t,e])});});scr.src="https://cdn.debugbear.com/gNZmJDcFXyMq.js";o.head.appendChild(scr);}})()
Skip to content Design
Garage & Workshops Spotlight See some of our top client project examples across different uses and SF sizes for inspiration on your next building ...
Design
Design Capabilities For Steel Buildings Discover the endless design possibilities for your next steel building project.
Self Storage Project Checklist Plan your self storage building project effectively with our comprehensive checklist. Stay organized and stress-free ...
The SteelCo Difference Explore The SteelCo Difference and how we set ourselves apart in the steel building industry through our winning cult...
Case Studies
Rainbow Pipe & Metal Learn why a repeat customer for 20+ years continues to choose SteelCo for her custom metal building needs across comm...
Case Studies
All In Storage Read how All In Storage maximized their project results working with SteelCo as their preferred vendor.
Resources & Insights Access expert knowledge, guides, and real-world case studies to help you navigate the world of pre-engineered metal buildings.
Resource / “Commercial”
Your search for:
“Commercial” [11]
1-Pagers Industry News Case Studies Design
Featured Garage & Workshops... See some of our top client project examples across different uses and SF sizes for inspiration on your next building ...
Featured Design Capabilities Fo... Discover the endless design possibilities for your next steel building project.
Featured Self Storage Project C... Plan your self storage building project effectively with our comprehensive checklist. Stay organized and stress-free ...
Featured The SteelCo Difference Explore The SteelCo Difference and how we set ourselves apart in the steel building industry through our winning cult...
Featured Rainbow Pipe & Metal Learn why a repeat customer for 20+ years continues to choose SteelCo for her custom metal building needs across comm...
Featured All In Storage Read how All In Storage maximized their project results working with SteelCo as their preferred vendor.
document.querySelectorAll('.nav-item a').forEach(link => {
link.addEventListener('click', function(e) {
console.log("Clicked:", this.href);
// Ensure that default navigation works
window.location.href = this.href;
});
});document.querySelectorAll('.nav-item').forEach(item => {
item.addEventListener('click', function(e) {
let tabId = this.getAttribute('data-tab-pane');// Remove active class from all items
document.querySelectorAll('.nav-item').forEach(nav => {
nav.classList.remove('active');
});// Hide all tab panes
document.querySelectorAll('.tab-pane').forEach(tab => {
tab.classList.remove('opened');
});// Add active class to clicked item
this.classList.add('active');// Show the relevant tab-pane
let activeTab = document.getElementById(tabId);
if (activeTab) {
activeTab.classList.add('opened');
}
});
});
jQuery(document).ready(function ($) {
if ($(window).width() > 992) {
let timeout;
$('.double-click-to-open').hover(
function () {
clearTimeout(timeout);
$('#steel-buildings--menu').css('display', 'block');
},
function () {
timeout = setTimeout(function () {
if (!$('#steel-buildings--menu:hover').length) {
$('#steel-buildings--menu').css('display', 'none');
}
}, 200);
}
);
$('#steel-buildings--menu').hover(
function () {
clearTimeout(timeout);
},
function () {
timeout = setTimeout(function () {
if (!$('.double-click-to-open:hover').length) {
$('#steel-buildings--menu').css('display', 'none');
}
}, 200);
}
);
}
if ($(window).width() < 992) {
$(".menu-item-has-children").off("click");
$(".menu-item-has-children > a").off("click");$(".menu-item-has-children").on("click", function (e) {
e.preventDefault();
e.stopPropagation();
let subMenu = $(this).find(".sub-menu").first();
let toggleButton = $(this).find(".sub-menu-toggle").first();
subMenu.toggleClass("active");
let isExpanded = toggleButton.attr("aria-expanded") === "true";
toggleButton.attr("aria-expanded", !isExpanded);
return false;
});
$(document).on("click", ".menu-item-has-children > a", function (e) {
e.preventDefault();
e.stopPropagation();
let subMenu = $(this).siblings(".sub-menu").first();
if (subMenu.length) {
subMenu.toggleClass("active");
return false;
}
});
$(".menu-item-has-children .sub-menu a").on("click", function (e) {
e.stopPropagation();
});
}
if ($(window).width() > 992) {
$('.double-click-to-open').on('click', function () {
var link = $(this).find('a');
window.location.href = link.attr('href');
});
}
});
jQuery(document).ready(function ($) {let selectedCategory = null;
let searchTerm = '';// Category click event$(document).on('click', '.resource--category', function () {
searchTerm = $('#resource-search-input').val();
selectedCategory = $(this).data('category');$('.resource--category').each(function () { $(this).removeClass('active'); });$(this).addClass('active');$('.resource--paginated-results').html('');loadPosts(1);
});// Clear form$(document).on('click', '#resource--clear-search, .resource--breadcrumb', function () {
searchTerm = '';
selectedCategory = null;$('#resource-search-input').val('');$('.resource--category').each(function () { $(this).removeClass('active'); });$('.resource--paginated-results').html('');loadPosts(1);
});// Form Change$('#resource-search-input').on('change', function () {
searchTerm = $('#resource-search-input').val();if (searchTerm && !$('#resource--clear-search').hasClass('active')) $('#resource--clear-search').addClass('active');
else $('#resource--clear-search').removeClass('active');
});// Form Search$(document).on('click', '#resource-search-form .search-icon', function () {
searchTerm = $('#resource-search-input').val();
selectedCategory = null;$('.resource--category').each(function () { $(this).removeClass('active'); });$('.resource--paginated-results').html('');loadPosts(1);
});$('#resource-search-form').on('submit', function (e) {
e.preventDefault();selectedCategory = null;$('.resource--category').each(function () { $(this).removeClass('active'); });searchTerm = $('#resource-search-input').val();$('.resource--paginated-results').html('');loadPosts(1);
});// Form Search (NOT FOUND)$(document).on('click', '#log-search-form--not-found .search-icon--not-found', function () {
searchTerm = $('#resource-search-input--not-found').val();
selectedCategory = null;$('.resource--category').each(function () { $(this).removeClass('active'); });$('#resource-search-input').val(searchTerm);$('.resource--paginated-results').html('');loadPosts(1);
});$(document).on('submit', '#resource-search-form--not-found', function (e) {
e.preventDefault();selectedCategory = null;$('.resource--category').each(function () { $(this).removeClass('active'); });searchTerm = $('#resource-search-input--not-found').val();$('#resource-search-input').val(searchTerm);$('.resource--paginated-results').html('');loadPosts(1);
});$('#load-more').on('click', function (e) {
e.preventDefault();const button = $(this);var page = button.attr('data-page');if (button.attr('disabled') || button.hasClass('disabled')) return;loadPosts(page);
})// Pagination AJAXfunction loadPosts(page) {
const button = $('#load-more');$.ajax({
url: myAjax.ajaxurl,
type: 'POST',
data: {
action: 'load_more_resources',
page: page,
category: selectedCategory,
search_term: searchTerm
},
beforeSend: function () {
$('#placeholders').fadeIn();button.html('Loading...');
},
success: function (response) {
$('#placeholders').fadeOut();button.attr('data-page', parseInt(page, 10) + 1);$('.resource--paginated-results').append(response);var totalItems = parseInt($('#resource-data-' + page).data('totalitems'));$('#load-more').html('Load More');if (totalItems < 9) $('#load-more').parent().fadeOut();
else {
$('#load-more').parent().fadeIn();button.attr('disabled', false).removeClass('disabled');
}setTimeout(() => {
if (searchTerm) {
if (!totalItems) totalItems = 0;$('#resource--searching').fadeIn();
$('.resource--categories-wrapper').fadeOut();$('#resource--breadcrumb-span').html(searchTerm);
$('#resource--item-searched').html(searchTerm);
$('#resource--item-quantity').html('[' + totalItems + ']');
}
else {
$('#resource--searching').fadeOut();
$('.resource--categories-wrapper').fadeIn();
}
}, 200);if (parseInt($('#resource-data-' + page).data('totalpages'), 10) < parseInt(button.attr('data-page'), 10)) {
button.html('The End');
button.attr('disabled', true).addClass('disabled');
}
}
});
}function getUrlParameter(name) {
const url = new URL(window.location.href);return url.searchParams.get(name);
}const catParam = getUrlParameter('cat');if (catParam) {
const categoryElement = $(`[data-category='${catParam}']`);if (categoryElement.length) {
categoryElement.trigger('click');$('html, body').animate({ scrollTop: $('.resource--main').offset().top - 100 }, 500);
}
}
});
function runOnFormSubmit_sf3z410c69ae2dd9a006d42a262b7361537929752bc4226529aad1560fb505219e68(th) { /* Before submit, if you want to trigger your event, "include your code here" */ };
(function() {
window.$zoho = window.$zoho || {};
$zoho.salesiq = $zoho.salesiq || {
ready: function() {}
};
var d = document;
var s = d.createElement("script");
s.type = "text/javascript";
s.id = "zsiqscript";
s.defer = true;
s.src = "https://salesiq.zohopublic.com/widget?plugin_source=wordpress&wc=siq21b34b99fe3d747867516a55ea92d184179bf58ba5a2b975895e40dceec3b299";
d.head.appendChild(s);
})()
_linkedin_partner_id = "5341588";
window._linkedin_data_partner_ids = window._linkedin_data_partner_ids || [];
window._linkedin_data_partner_ids.push(_linkedin_partner_id);
(function(l) {
if (!l){window.lintrk = function(a,b){window.lintrk.q.push([a,b])};
window.lintrk.q=[]}
var s = document.getElementsByTagName("script")[0];
var b = document.createElement("script");
b.type = "text/javascript";b.async = true;
b.src = "https://snap.licdn.com/li.lms-analytics/insight.min.js";
s.parentNode.insertBefore(b, s);})(window.lintrk);
document.body.classList.remove("no-js");
if ( -1 !== navigator.userAgent.indexOf( 'MSIE' ) || -1 !== navigator.appVersion.indexOf( 'Trident/' ) ) {
document.body.classList.add( 'is-IE' );
}
document.addEventListener('DOMContentLoaded', function() {
console.log("???? Script Zoho SalesIQ initialisé...");
const form = document.querySelector('.quote-form--form');
if (!form) {
console.error("❌ Form not found");
return;
}
// Intercepte TOUS les types de soumission
const submitButton = form.querySelector('#quote-form-submit');
if (submitButton) {
submitButton.addEventListener('click', function(e) {
setTimeout(2000);
handleQuoteFormSubmit(form);
});
}
// Aussi intercepter les soumissions form natives
form.addEventListener('submit', function(e) {
handleQuoteFormSubmit(form);
});
// Intercepter les requêtes AJAX (au cas où un plugin l'utiliserait)
const originalFetch = window.fetch;
window.fetch = function(...args) {
const url = args[0];
if (typeof url === 'string' && url.includes('quote')) {
handleQuoteFormSubmit(form);
}
return originalFetch.apply(this, args);
};
});function handleQuoteFormSubmit(form) {
console.log("➡️ Form submitted");
// Récupère les données
const firstName = document.getElementById('first-name')?.value?.trim() || '';
const lastName = document.getElementById('last-name')?.value?.trim() || '';
const email = document.getElementById('email')?.value?.trim() || '';
const phone = document.getElementById('phone-number')?.value?.trim() || '';
if (!email) {
console.error("❌ Email missing");
return;
}
// Identifie le visiteur dans SalesIQ
if (window.$zoho && window.$zoho.salesiq) {
try {
const fullName = (firstName + " " + lastName).trim();
$zoho.salesiq.visitor.name(fullName);
$zoho.salesiq.visitor.email(email);
$zoho.salesiq.visitor.customaction("Quote Form Submitted");
} catch (error) {
console.error("❌ Erreur SalesIQ :", error);
}
} else {
console.warn("⚠️ SalesIQ not available");
}
}
https://www.steelcobuildings.com/wp-content/themes/twentytwentyone/assets/js/polyfills.js
https://www.steelcobuildings.com/wp-content/themes/twentytwentyone/assets/js/primary-navigation.js
https://www.steelcobuildings.com/wp-content/themes/twentytwentyone/assets/js/responsive-embeds.js
https://www.steelcobuildings.com/wp-content/plugins/pixelyoursite/dist/scripts/jquery.bind-first-0.2.3.min.js
https://www.steelcobuildings.com/wp-content/plugins/pixelyoursite/dist/scripts/js.cookie-2.1.3.min.js
https://www.steelcobuildings.com/wp-content/plugins/pixelyoursite/dist/scripts/tld.min.js
https://www.steelcobuildings.com/wp-content/plugins/pixelyoursite/dist/scripts/public.js
var myAjax = {"ajaxurl":"https:\/\/www.steelcobuildings.com\/wp-admin\/admin-ajax.php","form_submission_nonce":"7ff02eead4"};
https://www.steelcobuildings.com/wp-content/themes/SteelCo/assets/js/custom.js
https://www.steelcobuildings.com/wp-content/themes/SteelCo/dist/photoswipe/photoswipe.umd.min.js
https://www.steelcobuildings.com/wp-content/themes/SteelCo/dist/photoswipe/photoswipe-lightbox.umd.min.js
document.addEventListener('DOMContentLoaded',function(){const lb=new PhotoSwipeLightbox({gallery:'.image-carousel-gallery a',pswpModule:PhotoSwipe});lb.init();});