Notification texts go here Contact Us Buy Now!
المشاركات

How to Add an Animated Floating Telegram and Whatsapp Button in Blogger ?

Please wait 0 seconds...
Scroll Down and click on Go to Link for destination
Congrats! Link is Generated

Step:1

সর্বপ্রথমে নিচের Code টি Copy করুন । AndThan Edit HTML এ গিয়ে </footer> এর উপর নিচের Copy করা Code টি Past করুন ।

<a class='whatsapp-float' href='#!' target='_blank'>
<div class='whatsapp-icon'>
<svg height='100' viewBox='0 0 48 48' width='100' x='0px' xmlns='http://www.w3.org/2000/svg' y='0px'>
<path d='M4.868,43.303l2.694-9.835C5.9,30.59,5.026,27.324,5.027,23.979C5.032,13.514,13.548,5,24.014,5c5.079,0.002,9.845,1.979,13.43,5.566c3.584,3.588,5.558,8.356,5.556,13.428c-0.004,10.465-8.522,18.98-18.986,18.98c-0.001,0,0,0,0,0h-0.008c-3.177-0.001-6.3-0.798-9.073-2.311L4.868,43.303z' fill='#fff'></path><path d='M4.868,43.803c-0.132,0-0.26-0.052-0.355-0.148c-0.125-0.127-0.174-0.312-0.127-0.483l2.639-9.636c-1.636-2.906-2.499-6.206-2.497-9.556C4.532,13.238,13.273,4.5,24.014,4.5c5.21,0.002,10.105,2.031,13.784,5.713c3.679,3.683,5.704,8.577,5.702,13.781c-0.004,10.741-8.746,19.48-19.486,19.48c-3.189-0.001-6.344-0.788-9.144-2.277l-9.875,2.589C4.953,43.798,4.911,43.803,4.868,43.803z' fill='#fff'></path><path d='M24.014,5c5.079,0.002,9.845,1.979,13.43,5.566c3.584,3.588,5.558,8.356,5.556,13.428c-0.004,10.465-8.522,18.98-18.986,18.98h-0.008c-3.177-0.001-6.3-0.798-9.073-2.311L4.868,43.303l2.694-9.835C5.9,30.59,5.026,27.324,5.027,23.979C5.032,13.514,13.548,5,24.014,5 M24.014,42.974C24.014,42.974,24.014,42.974,24.014,42.974C24.014,42.974,24.014,42.974,24.014,42.974 M24.014,42.974C24.014,42.974,24.014,42.974,24.014,42.974C24.014,42.974,24.014,42.974,24.014,42.974 M24.014,4C24.014,4,24.014,4,24.014,4C12.998,4,4.032,12.962,4.027,23.979c-0.001,3.367,0.849,6.685,2.461,9.622l-2.585,9.439c-0.094,0.345,0.002,0.713,0.254,0.967c0.19,0.192,0.447,0.297,0.711,0.297c0.085,0,0.17-0.011,0.254-0.033l9.687-2.54c2.828,1.468,5.998,2.243,9.197,2.244c11.024,0,19.99-8.963,19.995-19.98c0.002-5.339-2.075-10.359-5.848-14.135C34.378,6.083,29.357,4.002,24.014,4L24.014,4z' fill='#cfd8dc'></path><path d='M35.176,12.832c-2.98-2.982-6.941-4.625-11.157-4.626c-8.704,0-15.783,7.076-15.787,15.774c-0.001,2.981,0.833,5.883,2.413,8.396l0.376,0.597l-1.595,5.821l5.973-1.566l0.577,0.342c2.422,1.438,5.2,2.198,8.032,2.199h0.006c8.698,0,15.777-7.077,15.78-15.776C39.795,19.778,38.156,15.814,35.176,12.832z' fill='#40c351'></path><path clip-rule='evenodd' d='M19.268,16.045c-0.355-0.79-0.729-0.806-1.068-0.82c-0.277-0.012-0.593-0.011-0.909-0.011c-0.316,0-0.83,0.119-1.265,0.594c-0.435,0.475-1.661,1.622-1.661,3.956c0,2.334,1.7,4.59,1.937,4.906c0.237,0.316,3.282,5.259,8.104,7.161c4.007,1.58,4.823,1.266,5.693,1.187c0.87-0.079,2.807-1.147,3.202-2.255c0.395-1.108,0.395-2.057,0.277-2.255c-0.119-0.198-0.435-0.316-0.909-0.554s-2.807-1.385-3.242-1.543c-0.435-0.158-0.751-0.237-1.068,0.238c-0.316,0.474-1.225,1.543-1.502,1.859c-0.277,0.317-0.554,0.357-1.028,0.119c-0.474-0.238-2.002-0.738-3.815-2.354c-1.41-1.257-2.362-2.81-2.639-3.285c-0.277-0.474-0.03-0.731,0.208-0.968c0.213-0.213,0.474-0.554,0.712-0.831c0.237-0.277,0.316-0.475,0.474-0.791c0.158-0.317,0.079-0.594-0.04-0.831C20.612,19.329,19.69,16.983,19.268,16.045z' fill='#fff' fill-rule='evenodd'></path>
</svg>
</div>
</a>
<a class='telegram-float' href='#!' target='_blank'>
<div class='telegram-icon'>
<svg viewBox='0 0 64 64'><path d='M56.4,8.2l-51.2,20c-1.7,0.6-1.6,3,0.1,3.5l9.7,2.9c2.1,0.6,3.8,2.2,4.4,4.3l3.8,12.1c0.5,1.6,2.5,2.1,3.7,0.9 l5.2-5.3c0.9-0.9,2.2-1,3.2-0.3l11.5,8.4c1.6,1.2,3.9,0.3,4.3-1.7l8.7-41.8C60.4,9.1,58.4,7.4,56.4,8.2z M50,17.4L29.4,35.6 c-1.1,1-1.9,2.4-2,3.9c-0.2,1.5-2.3,1.7-2.8,0.3l-0.9-3c-0.7-2.2,0.2-4.5,2.1-5.7l23.5-14.6C49.9,16.1,50.5,16.9,50,17.4z'></path></svg>
</div>
</a>

Step:2

এরপর নিচের Code টি Copy করুন এবং Edit HTML এ গিয়ে </head> এর উপর নিচের Copy করা Code টি Past করুন ।

<!-- Open - Floating buttons for telegram and whatsapp -->
<style>
  .telegram-float {
    position: fixed;
    bottom: 128px;
    right: 20px;
    z-index: 10;
    opacity: 0; /* Initially hide the Telegram icon */
    transition: opacity 0.3s ease;
  }

  .telegram-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #0088cc;
    display: flex;
    justify-content: center;
    align-items: center;
    animation-name: pulse;
    animation-duration: 1.5s;
    animation-timing-function: ease-out;
    animation-iteration-count: infinite;
  }

  @keyframes pulse {
    0% {
      box-shadow: 0 0 0 0 rgba(0, 136, 204, 0.5);
    }
    80% {
      box-shadow: 0 0 0 14px rgba(0, 136, 204, 0);
    }
  }

  .telegram-icon svg {
    fill: #fff;
    width: 30px;
    height: 30px;
  }

  .whatsapp-float {
    position: fixed;
    bottom: 180px;
    right: 20px;
    z-index: 15;
    opacity: 0; /* Initially hide the WhatsApp icon */
    transition: opacity 0.3s ease;
  }

  .whatsapp-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #25D366;
    display: flex;
    justify-content: center;
    align-items: center;
    animation-name: pulse;
    animation-duration: 1.5s;
    animation-timing-function: ease-out;
    animation-iteration-count: infinite;
  }

  .whatsapp-icon svg {
    fill: #fff;
    width: 30px;
    height: 30px;
  }
</style>
<script>
  document.addEventListener('DOMContentLoaded', function () {
    var telegramFloat = document.querySelector('.telegram-float');
    var whatsappFloat = document.querySelector('.whatsapp-float');
    var lastScrollTop = 0;

    window.onscroll = function () {
      var scrollTop = window.scrollY || document.documentElement.scrollTop;

      // Telegram Floating Button
      if (scrollTop > lastScrollTop) {
        // Scrolling down
        telegramFloat.style.opacity = '1';
      } else {
        // Scrolling up
        telegramFloat.style.opacity = '0';
      }

      // WhatsApp Floating Button
      if (scrollTop > lastScrollTop) {
        // Scrolling down
        whatsappFloat.style.opacity = '1';
      } else {
        // Scrolling up
        whatsappFloat.style.opacity = '0';
      }

      lastScrollTop = scrollTop;
    };
  });
</script>
<!-- Close - Floating buttons for telegram and whatsapp -->
ব্যাস, আপনার কাজ শেষ ।শুধু href='#!' এর #! জায়গায় আপনার Whatsapp এবং Telegram এর লিঙ্ক যুক্ত করুন ।
Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.
Site is Blocked
Sorry! This site is not available in your country.