Scripts Gift Cards

Scripts Gift Cards in Javascript Code

Scripts Gift Cards in Javascript Code well-designed and customizable coding for the card to send a gift to anybody anytime.

These types of scripts and gift cards can be adjusted on any website or blog with their customization and modification in the code easily.


  <div class="rankbp.comcontainer">
<div style="background: url(); color: white;  font-weight: bold; padding-top: 0px; padding-bottom: 0px; font-size: 20;text-align:center; ">
<font color="#f2ebeb"> <p id="rankbp.com"></p>
</font></div>
<h2 class="font-effect-neon" align=center" id="rankbp.com-show-name"></h2>
</div><div class="font-effect-neon"><p class="fromMessage" id="rankbp.com-fromMessage"></p></div>
<div class="vi" style="text-align: center;">
<h3>
<font color="yellow">
<span>May the blessings of ALLAH fill your life,</span><br>
<span>with love and your home with happiness,</span><br>
<span>Eid Mubarak to you and your family!</span><br>
    <br>
</h3>
<br>
<br>

<br>
<div style="text-align:center">
  <span class="rankbp"></span> 
  <span class="rankbp"></span> 
  <span class="rankbp"></spa
<script>
var slideIndex = 0;
showSlides();

function showSlides() {
    var i;
    var slides = document.getElementsByClassName("rankbp");
    var dots = document.getElementsByClassName("rankbp");
    for (i = 0; i < slides.length; i++) {
       slides[i].style.display = "none";  
    }
    slideIndex++;
    if (slideIndex > slides.length) {slideIndex = 1}    
    for (i = 0; i < dots.length; i++) {
        dots[i].className = dots[i].className.replace(" active", "");
    }
    slides[slideIndex-1].style.display = "block";  
    dots[slideIndex-1].className += " active";
    setTimeout(showSlides, 2000); // Change image every 3 seconds
}
</script>
<div id="formBox" >
          <input type="text" name="name" id="nameTextBox"  placeholder="Enter Your Name">
          <div id="goButton" onclick="createGreeting()" >
          Click
          </div>
        </div>
        <a class="footerbtn" href="javascript:void(0)" onclick="shareActionWA()">
          <img width="25px" height="25px" src="https://1.bp.blogspot.com/-CuxvYyb3Txc/XXDVxoh7WEI/AAAAAAAAAow/TxThSAjwax8jkYLJIS8c8PqXL8QOqU92wCLcBGAs/s1600/ideazzonewhats.png">
          <b style="font-size: 15px;position:  relative;top: -3px;margin: 0 10px;">Share with your Friends</b>
          <img width="25px" height="25px" src="https://1.bp.blogspot.com/-CuxvYyb3Txc/XXDVxoh7WEI/AAAAAAAAAow/TxThSAjwax8jkYLJIS8c8PqXL8QOqU92wCLcBGAs/s1600/ideazzonewhats.png">
        </a>
    </div>
        
  

  <script>
      var jqs = function(sParam) {
        var sPageURL = window.location.search.substring(1);
        var sURLVariables = sPageURL.split("&");
        for (var i = 0; i < sURLVariables.length; i++) {
            var sParameterName = sURLVariables[i].split("=");
            if (sParameterName[0] === sParam) {
              return sParameterName[1];
            }
          }
      };
    window.jqs = jqs;
    var name = decodeURI(jqs("bl"));
    if (typeof jqs("bl") === "undefined") {
      name = "";
    }
    var checkName = function() {
      if (name.length !== 0) {
        name = name.replace(/-/g, " ");
        console.log("name is there", name);
        document.querySelector("#rankbp.com-show-name").innerHTML = name;
        document.querySelector("#rankbp.com-fromMessage").innerHTML= "Wishing You"
      } else {

      }
    };

    checkName();

    var createGreeting=function(){

      // ga('send', {
      //   hitType: 'event',
      //   eventCategory: 'interaction',
      //   eventAction: 'click',
      //   eventLabel: 'goButtonClicked'
      // });

      gtag('event', 'click', {
            'event_category': 'interaction',
            'event_label': 'goButtonClicked',
      });

      sname=document.querySelector("#nameTextBox").value;
      sname=sname.replace(/@/g,"-")
      sname=sname.replace(/%40/g,"-")
      sname=sname.replace(/\./g,"-")
      if(sname.trim()!=""){
        document.querySelector("#formBox").style.display = "none";
        document.querySelector(".footerbtn").style.display = "block";
        document.querySelector("#rankbp.com-show-name").innerHTML = sname;
        document.querySelector("#rankbp.com-fromMessage").innerHTML= "Click on the WhatsApp button to share with your friends";
        window.scrollTo(0,0);
      }else {
        alert ("Please Type Your Name First");
        document.getElementById("nameTextBox").focus();
      }
    }

    var shareActionWA = function() {
      gtag('event', 'click', {
            'event_category': 'interaction',
            'event_label': 'shareOnWhatsAppClicked',
      });

      var shareString = "";
      var whatsappHref;
      shareString += "*"+sname+"*";

      
      shareString +=" *have sent you a gift🎁!* %0A💁 this card Line to Touch  %0A👇🏼👇🏼 %0A"
      shareString +=(window.location.href.split("?")[0] + "?bl=" + sname).replace("#", "").replace(/ /g, "-");
     

      whatsappHref = "whatsapp://send?text=" + shareString;
      window.location.href = whatsappHref;

    };
    var countDownDate = new Date("July 19, 2021 00:00:00").getTime();

    // Update the count down every 1 second
    var x = setInterval(function() {
        // Get todays date and time
        var now = new Date().getTime();

        // Find the distance between now an the count down date
        var distance = countDownDate - now;

        // Time calculations for days, hours, minutes and seconds
        var days = Math.floor(distance / (1000 * 60 * 60 * 24));
        var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
        var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
        var seconds = Math.floor((distance % (1000 * 60)) / 1000);

        // Output the result in an element with id="demo"
        document.getElementById("demoo").innerHTML = days + "days " + hours + "hr "+ minutes + "min " + seconds + "sec ";

        // If the count down is over, write some text
        if (distance < 0)
         {
            clearInterval(x);
            document.getElementById("demoo").innerHTML = "";
            document.getElementById("inAdvance").innerHTML = "";

        }
    }, 1000);
  </script>
<!-- Display the countdown timer in an element -->


<script>
// Set the date we're counting down to
var countDownDate = new Date("July 19, 2021 00:00:00").getTime();

// Update the count down every 01 second
var x = setInterval(function() {

  // Get todays date and time
  var now = new Date().getTime();

  // Find the distance between now an the count down date
  var distance = countDownDate - now;

  // Time calculations for days, hours, minutes and seconds
  var days = Math.floor(distance / (1000 * 60 * 60 * 24));
  var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
  var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
  var seconds = Math.floor((distance % (1000 * 60)) / 1000);

  // Display the result in the element with id="rankbp.com"
  document.getElementById("rankbp.com").innerHTML = days + "<i> Days,</i> " + hours + " <i>Hrs,</i> "
  + minutes + "<i> Min,</i> " + seconds + "<i> Sec</i> ";

  // If the count down is finished, write some text 
  if (distance < 0) {
    clearInterval(x);
    document.getElementById("rankbp.com").innerHTML = ".";
  }
}, 1000);
</script>        
<script src="https://www.googletagmanager.com/gtag/js?id=UA--1"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());
  gtag('config', 'UA--1');
  // ga('create', 'UA--1');
  // ga('require', 'linker');
  // ga('send', 'pageview');
</script>

What is Scripts Gift Cards Code

These Scripts Gift Cards wish viral best script for bloggers and we are not guaranteed
any affectionate of function because off alteration and added problems attentive use it at your own risk
if you like this article don’t balloon to bookmark our website in your browser.

Scripts Gift Cards Definition

Any coming event or celebration anybody is analytic for a Scripts Gift Cards phishing Scripts so we accept an exceptional
WhatsApp gift Script you can use this calligraphy for bloggers you can apprehend added appearance below.

How to use this script

Very easy to use this script on your website page or blog page, post adds a new page copy the complete code
No need for extra styling code this is already useful and good-looking designed code for a suitable look.
If you want to add your CSS or bootstrap so remove the style from this because conflicting code would not work proper

Scroll to Top