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"); })

"I CAN BE THE SAME AT T.A. COOK AS I AM AT HOME, I DON'T HAVE TO PRETEND."

Nicole Riemann, Events Marketing Manager
  When we say "stay unique", we mean it. We don't want to re-shape your personality, we want to promote it and offer you a working environment where that individuality will be embraced.    At T.A. Cook  our team is equipped with specialist skills and knowledge in a wide variety of areas. You’ll have the opportunity to learn from these individual personalities, driving both your own and the company’s success.   We effectively demonstrate that we can work as a team on a daily basis, however, each individual has their own approach – with personal strengths, preferences and talents. Each of them is – unique. Don’t take our word for it though, listen to what they have to say.
 
Do you want to become part of our team? Visit our career page and check out all open positions.

SHARE THIS ARTICLE

LinkedInFacebookTwitterXINGEmailPrint

RELATED ARTICLES

TAGS

RELATED ARTICLES