Skip to Content

JavaScript File

URL: https://ua-stroy.com/resources/js/script.min.js?v=1.000
HTTP Status: 200 OK
MIME Type: application/javascript
Last Modified: Wed, 21 Feb 2024 00:56:26 GMT
Download Time: Less than a second
Cookies: None
Size: 1 KB
HTTP Headers:  6 headers
Links In:  2 pages
Links Out:  0 links
Images:  0 images
CSS:  0 files
JavaScript:  0 files
OK Issues: No issues found

1const breakpoint=768,headerMain=document.querySelector("#root > header"),stickyMarker=document.createElement("div");stickyMarker.setAttribute("id","stickyMarker"),headerMain.before(stickyMarker);const scrollObserver=new IntersectionObserver(entries=>{headerMain.classList.toggle("sticked",!entries[0].isIntersecting)}

2,{rootMargin:"56px 0px 0px 0px"}

3);scrollObserver.observe(stickyMarker),window.addEventListener("load",e=>{setTimeout(()=>{document.querySelectorAll(".uni-slider-container").forEach(u=>{u.classList.remove("ph")}

4),document.body.classList.remove("__loading")}

5,100),document.body.addEventListener("click",e=>{"body"===e.target.localName&&(e.target.classList.contains("__zoom")&&document.querySelector('img[alt="img-zoom"]').click(),e.target.classList.remove("__menu","__zoom"))}

6),"object"==typeof uniSlider&&uniSlider.init(),"object"==typeof imgZoom&&imgZoom.init(),"object"==typeof goTop&&goTop.init({bg:"rgba(0,150,50,1)",color:"white",s:"3em",y:"1em",x:"1em"}

7)}

8);