const setUpStickyHeader = () => { let header = document.querySelector("#header"); toggleHeaderStickiness = () => { if (window.scrollY > 0) { header.classList.add("sticky-header"); } else { header.classList.remove("sticky-header"); } } window.addEventListener("scroll", toggleHeaderStickiness); } window.addEventListener("DOMContentLoaded", setUpStickyHeader); const setUpBurgerMenu = () => { console.log("burger menu setup initiated..."); let burger = document.querySelector("#primary-menu-trigger"); let fries = document.querySelectorAll("#primary-menu > ul") const toggleFries = () => { console.log("fry toggling initiated..."); for (var i = 0; i < fries.length; i++) { console.log("enter the fry loop..."); var fry = fries[i]; if (fry.classList.contains("show")) { fry.classList.remove("show"); console.log("showed fry ", i); } else { fry.classList.add("show"); console.log("hid fry ", i); } } } burger.addEventListener("click", toggleFries); } window.addEventListener("DOMContentLoaded", setUpBurgerMenu); // This opens the search bar window.addEventListener("DOMContentLoaded", function(){ document.querySelector("#top-search-trigger").addEventListener("click", function(){document.querySelector("body").classList.toggle("top-search-open")}) }); // The body tag has to have this for the right header styles to get applied, and since we can't edit the body tag directly through Divi, this is easier than editing theme files... window.addEventListener("DOMContentLoaded", function() { document.querySelector("body").classList.add("stretched"); })
Project Services

Project Services

T.A. Cook Engineers

As an independent service provider, we support customers in the process industry with professional turnaround, revision and capex management. With long-term experience, in-depth know-how and proven methods in project preparation and implementation, we take responsibility and deliver measurable results. This allows you to benefit from significantly lower overall costs and shorter project running times.

Your benefit

A successful Capex and turnaround does not happen by chance. On the contrary, great projects are built on clear and systematic implementation of a well-conceived operational strategy. Our implementation support through every step of the project life cycle allows our clients to plan and achieve shorter project times, reduced overall project costs, lower project risks, high execution and safety quality.

Contact

Please talk to our expert to find out how we can support you

Mathias Möller

Mathias Möller

Managing Director, Engineers