How to add click vibrating effect in Blogger script store 360

Hello everyone welcome to script store 360, You might be like to add a vibrating effect to your website buttons, texts, icons, or any other and you might be finding the code for it, then you are in right place in this article I am going to show you how to add click vibrating effect in Blogger.

If you follow this tutorial carefully you can easily implement the vibrating effect in your Blogger website, So without wasting much time let's check how to add the click vibrating effect in Blogger!

How to add a vibrating effect in Blogger

  • First, go to your Blogger dashboard
  • Then click on the Theme option
  • Then click on the drop-down icon near Customize option
  • Then click on the Edit HTML option
  • Then find </body> and paste the following JS just above it
  • <script>/*<![CDATA[*//* Click Vibrating effect (STW) */ for(var getarr,getar=document.querySelectorAll(".vibrate"),i=0;i<getar.length;i++)getar[i].addEventListener("click",function(){navigator.vibrate(40)});/*]]>*/</script>
  • Then Save HTML
  • How to use it?

    You just need to add class='vibrate' on that code in which you want to add a vibrating effect, I will show an example with button HTML code!

    <button>Hello World!</button>
    <button class='vibrate'>Hello World!</button>

    For multiple class situation

    The situation that already exit a class!

    <button class='otherclass'>Hello World!</button>
    <button class='otherclass vibrate'>Hello World!</button>

    Want to see how it looks?

    Demo

    Conclusion

    Hope this How to add click vibrating effect in Blogger tutorial will useful to you, If you have any doubts related to this tutorial ask me in comment, Do share with your friends, Thanks for visiting, Have a nice day!

    একটি মন্তব্য পোস্ট করুন

    🌟 সম্মানিত ষ্ক্রিপ্ট ষ্টোর ৩৬০ পাঠকরা! 🌟

    আপনি আমাদের আলোচনায় জড়িত থাকতে পেরে আমরা আনন্দিত। প্রত্যেকের জন্য একটি সম্মানজনক এবং অন্তর্ভুক্তিমূলক পরিবেশ নিশ্চিত করার জন্য, আমরা নিম্নলিখিত নির্দেশিকাগুলির সাথে আপনার সহযোগিতার অনুরোধ করছিঃ

    ১. গোপনীয়তা রক্ষাঃ অনুগ্রহ করে আপনার মন্তব্যে সংবেদনশীল বা ব্যক্তিগত তথ্য শেয়ার করা থেকে বিরত থাকুন।

    ২. ইতিবাচকতা ছড়ানোঃ ঘৃণাত্মক বক্তৃতা বা আপত্তিজনক ভাষার প্রতি আমরা শূন্য-সহনশীলতার নীতি বজায় রাখি। আসুন আমাদের কথোপকথনকে সম্মানজনক এবং বন্ধুত্বপূর্ণ রাখি।

    ৩. পছন্দের ভাষাঃ ইংরেজি বা বাংলা’তে নির্দ্বিধায় নিজেকে প্রকাশ করুন। এই দুটি ভাষা আমাদের পরিষ্কার এবং সুসংগত আলোচনা বজায় রাখতে সাহায্য করবে।

    ৪. বৈচিত্র্যকে সম্মানঃ একটি অন্তর্ভুক্তিমূলক পরিবেশ গড়ে তোলার জন্য, আমরা দয়া করে অনুরোধ করছি যে আপনি আপনার মন্তব্যে ধর্মীয় বিষয় নিয়ে আলোচনা করা এড়িয়ে চলুন।

    মনে রাখবেন, আপনার মতামতগুলি মূল্যবান, এবং আমরা আমাদের পাঠকদের সবার জন্য একটি স্বাগত জানানোর জায়গা করে তোলার জন্য আপনার প্রতিশ্রুতির প্রশংসা করি৷ আসুন গঠনমূলক এবং সম্মানজনক আলোচনার মাধ্যমে একসাথে শিখতে এবং বৃদ্ধি পেতে থাকি।

    আমাদের ষ্ক্রিপ্ট ষ্টোর ৩৬০ ওয়েবসাইটে যুক্ত থাকার জন্য আপনাকে ধন্যবাদ! 🌟
    কুকি সম্মতি
    আমরা ট্রাফিক বিশ্লেষণ করতে, আপনার পছন্দগুলি মনে রাখতে এবং আপনার অভিজ্ঞতাকে অপ্টিমাইজ করতে এই সাইটে কুকিজ পরিবেশন করি৷
    দূক্ষিত
    মনে হচ্ছে আপনার ইন্টারনেট সংযোগে কিছু সমস্যা আছে। অনুগ্রহ করে ইন্টারনেটের সাথে সংযোগ করুন এবং আবার ব্রাউজিং শুরু করুন৷
    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.