Truck Rental in Mooresville, NC

Location
Sort by: Distance
Filter

Port City Storage

126 Haney Drive
Mooresville, NC 28115

}); window.REBELMOUSE_LOWEST_TASKS_QUEUE.push(function(){ function getCookie(name) { const cookies = document.cookie.split('; '); for (let cookie of cookies) { const [key, value] = cookie.split('='); if (key === name) return decodeURIComponent(value); } return null; } const rmVariant = getCookie("rebelmouse_variant"); if (window.location.pathname.includes("locations") && rmVariant === "b") { REBELMOUSE_STDLIB.createElementChangeListener(".rm-breadcrumb__list .rm-breadcrumb__item--home_page a", function(elem){ const urlParams = window.location.search; elem.setAttribute("href", "/commercial-truck-rental/"+ (urlParams ? urlParams : '')) }) } }); window.REBELMOUSE_LOWEST_TASKS_QUEUE.push(function(){ REBELMOUSE_STDLIB.createElementChangeListener(".map_overlay input", function(el){ //console.log(el) el.addEventListener('focus', function() { document.querySelector(".map_overlay .input-title").style.color = "#113BC2"; }); el.addEventListener('blur', function() { document.querySelector(".map_overlay .input-title").style.color = "#717274"; }); }) }); window.REBELMOUSE_LOWEST_TASKS_QUEUE.push(function(){ function increaseDivHeight() { let myDiv = document.querySelector("#map"); let mapWrap = document.querySelector(".map_wrap"); let locCity= document.querySelector(".location-layout.city"); let cityposts = document.querySelectorAll(".city-posts .widget"); let footer = document.querySelector(".footer"); let footercopyright = document.querySelector(".footer-copyright"); let windowWidth = window.innerWidth; let windowHeight = window.innerHeight; if (windowWidth > 767 && windowWidth < 1023 && windowHeight > 830) { if (cityposts.length < 5) { myDiv.style.height = windowHeight + "px"; mapWrap.style.minHeight = "auto"; } else { locCity.style.height = "unset"; footer.classList.add("remove-absolute"); footercopyright.classList.add("remove-absolute"); } //locCity.style.height = windowHeight + "px"; } else if (windowWidth >= 1024 && windowWidth < 1199 && windowHeight > 1054) { if (cityposts.length < 5) { myDiv.style.height = windowHeight + "px"; mapWrap.style.minHeight = "auto"; } else { locCity.style.height = "unset"; footer.classList.add("remove-absolute"); footercopyright.classList.add("remove-absolute"); } //locCity.style.height = windowHeight + "px"; } else if (windowWidth >= 1200 && windowWidth < 1439 && windowHeight > 1220) { if (cityposts.length < 5) { myDiv.style.height = windowHeight + "px"; mapWrap.style.minHeight = "auto"; } else { locCity.style.height = "unset"; footer.classList.add("remove-absolute"); footercopyright.classList.add("remove-absolute"); } } else if (windowWidth >= 1440 && windowHeight > 1440) { if (cityposts.length < 5) { myDiv.style.height = windowHeight + "px"; mapWrap.style.minHeight = "auto"; } else { locCity.style.height = "unset"; footer.classList.add("remove-absolute"); footercopyright.classList.add("remove-absolute"); } //locCity.style.height = windowHeight + "px"; } else { // Reset the height if conditions are not met myDiv.style.removeProperty('height'); mapWrap.style.removeProperty('min-height'); // locCity.style.height = windowHeight + "px"; } } // Event listener for window resize window.addEventListener("resize", increaseDivHeight); // Initial call to set the initial height increaseDivHeight(); setTimeout(()=>{ let city_wrapper = document.querySelector(".city-posts"); let cityposts = document.querySelectorAll(".city-posts .widget"); if (cityposts.length > 3) { city_wrapper.classList.add("show-y-scroll"); } },1000) });