How To Add Stylish Click Effect In Blogger Website?

Adding click effects to your website is a creative and interactive way to enhance user engagement. These effects provide visual feedback whenever ...
How To Add Stylish Click Effect In Blogger Website - Anish Parihar
How To Add Click Effect In Blogger Website?

How To Add Click Effect In Blogger Website?

Hello everyone,today we will learn to add stylish click effects to our blogger website that attract our blog visitors because adding click effects to your Blogger site can significantly enhance the interactivity and visual appeal of your blog. Whether you're looking to give a touch effect to your blog sections,buttons and widgets, click effects can provide that extra flair. In this guide, we’ll explore what click effects are, their benefits, and how you can add them to your Blogger site. Plus, we'll provide step-by-step instructions and code snippets for five awesome click effects that will take your blog to the next level.

What Are Click Effects?

Click effects are animations or visual changes that occur when a user clicks on any element, such as a button, link, image, or anywhere on your website. These effects can range from simple color changes to complex animations that provide immediate feedback to users, enhancing the overall experience.

Benefits of Adding Click Effects in Blogger

Adding click effects to your Blogger site can greatly improve user interaction and overall aesthetics. Let’s look at some key benefits:

  • Enhanced User Interaction: Click effects create a sense of interaction, making your site feel more dynamic and engaging. This interaction keeps visitors interested, encouraging them to explore your content further.
  • Improved Aesthetics: Click effects contribute to the overall design, giving your blog a polished and modern look. Simple animations can make elements feel responsive and alive, enhancing the visual appeal.
  • Better User Experience: Click effects provide immediate feedback, letting users know that their action (like pressing a button) has been recognized. This feedback can make navigating your site feel smoother and more intuitive.

Steps To Add Click Effect In Blogger Website.

Here you will see multiple codes that's have different types of effects so choose as per your preference by seeing effect in the given images. Then Follow the steps carefully and add it to your website to make your website attractive by giving it touch effects.

  1. Step : Copy the below given any code you want.
  2. Step : Now go to your blogger dashboard.
  3. Step : Click on menu > theme > edit html.
  4. Step : Find the </body> or &lt;/body&gt; tag in html code, you'll find this in the end of the code in html.
  5. Step : Paste the copied click effect javascript code just above it and save.

Congratulations! everything is done. Now open your website or any pages and click anywhere, you'll see the click effect added there. If you're facing any issues or want to customized colour effects you can do it yourself or you can also contact us on telegram or join our telegram channel & group for latest updates and helps related to blogging.

Click Effect JavaScript Codes.

Here is the all code with their effect name, choose anyone you liked and use it to your website.

  1. Light Pulse Effect

    <!--[ Light Pulse Effect ]-->
    <script>
      (function () {
       var pulses = [];
        function animate() {
          for (var i = 0; i < pulses.length; i++) {
            pulses[i].scale += 0.03;
            pulses[i].alpha -= 0.01;
            if (pulses[i].alpha <= 0) {
              document.body.removeChild(pulses[i].el);
              pulses.splice(i, 1);
            } else {
              pulses[i].el.style.transform = `scale(${pulses[i].scale})`;
              pulses[i].el.style.opacity = pulses[i].alpha;
            }
          }
          requestAnimationFrame(animate);
        }
       // created by anishparihar.in
        function createPulse(x, y) {
          var pulse = document.createElement('div');
          pulse.className = 'pulse';
          pulse.style.left = x - 10 + 'px';
          pulse.style.top = y - 10 + 'px';
          pulse.style.position = 'fixed';
          pulse.style.width = '20px';
          pulse.style.height = '20px';
          pulse.style.borderRadius = '50%';
          pulse.style.background = 'rgba(255, 255, 100, 0.7)';
          document.body.appendChild(pulse);
          pulses.push({ el: pulse, scale: 1, alpha: 1 });
        }
    
        window.addEventListener('click', function (e) {
          createPulse(e.clientX, e.clientY);
        });
    
        animate();
      })();
    </script>
  2. Raindrop Effect

    <!--[ Raindrop Effect ]-->
    <script>
      (function () {
        var raindrops = [];
         function animate() {
          for (var i = 0; i < raindrops.length; i++) {
            raindrops[i].y += raindrops[i].vy;
            raindrops[i].alpha -= 0.01;
            if (raindrops[i].alpha <= 0) {
              document.body.removeChild(raindrops[i].el);
              raindrops.splice(i, 1);
            } else {
              raindrops[i].el.style.opacity = raindrops[i].alpha;
              raindrops[i].el.style.top = raindrops[i].y + 'px';
            }
          }
          requestAnimationFrame(animate);
        }
       // created by anishparihar.in
        function createRaindrop(x, y) {
          var drop = document.createElement('div');
          drop.className = 'raindrop';
          drop.style.left = x + 'px';
          drop.style.top = y + 'px';
          drop.style.position = 'fixed';
          drop.style.width = '2px';
          drop.style.height = '10px';
          drop.style.background = 'rgba(0, 100, 255, 0.7)';
          document.body.appendChild(drop);
          raindrops.push({ el: drop, y: y, vy: 2, alpha: 1 });
        }
    
        window.addEventListener('click', function (e) {
          createRaindrop(e.clientX, e.clientY);
        });
    
        animate();
      })();
    </script>
  3. Related Posts

    Conclusion : Adding click effects to your website is a creative and interactive way to enhance user engagement. These effects provide visual feedback whenever a user clicks on a button, link, or element, making your site feel more dynamic and responsive. By incorporating click effects, you can create a more immersive user experience, grab visitors’ attention, and encourage them to explore your site further.

About the author

Anish Kumar
Professional Blogger | Seo Expert | Since ©2019

Post a Comment