MCP-CMS: Difference between revisions

From Cibernética Americana
Jump to navigationJump to search
38 bytes removed ,  2 December 2024
no edit summary
No edit summary
No edit summary
Line 208: Line 208:
var i;
var i;


vd.style.opacity    = 1; // Ensure the div starts visible
function fadeOutEffect(target) {
video.style.opacity = 1; // Ensure the div starts visible
    var fadeTarget = document.getElementById(target);
 
    var fadeEffect = setInterval(function () {
function fadeOut() {
        if (!fadeTarget.style.opacity) {
  let opacity = 1;
            fadeTarget.style.opacity = 1;
  const interval = setInterval(() => {
        }
    if (opacity > 0) {
        if (fadeTarget.style.opacity > 0) {
      opacity -= 0.1;
            fadeTarget.style.opacity -= 0.1;
      divElement.style.opacity = opacity;
        } else {
    } else {
            clearInterval(fadeEffect);
      clearInterval(interval);
        }
      divElement.style.display = "none"; // Hide the div completely
     }, 200);
     }
  }, 50); // Adjust the interval for speed
}
}
for (i = 0; i < coll.length; i++) {
for (i = 0; i < coll.length; i++) {
Line 251: Line 249:
}
}
<!-- window.timeoutID = setTimeout(kill10C,7000); -->  
<!-- window.timeoutID = setTimeout(kill10C,7000); -->  
fadeOut();
fadeOutEffect(video);
</script><br><img width=150 align=right src=https://juan.ai-integration.biz/xasppage/xasppage.pl?XASPPAGE_STYLE=0&P=MCPCMS>
</script><br><img width=150 align=right src=https://juan.ai-integration.biz/xasppage/xasppage.pl?XASPPAGE_STYLE=0&P=MCPCMS>
</html>
</html>

Navigation menu