Sufia Unani Medical College Hospital & Research Centre

Sufia Unani Medical College Hospital & Research Centre

Affiliated to B.R.A. Bihar University, Muzaffarpur & Bihar University of Health Sciences, Patna

Recognised by NCISM, Ministry of AYUSH, New Delhi

No Images.
Please upload images in images manager section. Click on Manage Images button on the right side of the gallery settings.
Please make sure that you didn't enabled option: Images of the Current Gallery. Option should have Show value to show images.

No Responses

Leave a Reply

Your email address will not be published. Required fields are marked *

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Scrolling Important Notice</title>
  <style>
    .scroll-container {
      width: 100%;
      overflow: hidden;
      background-color: #fff3cd;
      border: 1px solid #ffeeba;
      color: #856404;
      font-weight: bold;
      padding: 10px 0;
      position: relative;
    }

    .scroll-text {
      white-space: nowrap;
      display: inline-block;
      padding-left: 100%;
      animation: scroll-left 10s linear infinite;
    }

    @keyframes scroll-left {
      from {
        transform: translateX(0%);
      }
      to {
        transform: translateX(-100%);
      }
    }
  </style>
</head>
<body>

<div class="scroll-container">
  <div class="scroll-text" id="notice">
    ⚠️ Important Notice: The website will be down for maintenance on Sunday from 2AM to 5AM. ⚠️
  </div>
</div>

<script>
  const notice = document.getElementById("notice");

  // Pause animation on mouseover
  notice.addEventListener("mouseover", () => {
    notice.style.animationPlayState = "paused";
  });

  // Resume animation on mouseout
  notice.addEventListener("mouseout", () => {
    notice.style.animationPlayState = "running";
  });
</script>

</body>
</html>