[php] insan

Viewer

  1. <script>
  2. $( document ).ready(function() {
  3.     $("#giphy_result").hide();
  4.     setInterval(aadi_neon, 3000);
  5. });
  6.  
  7. aadi_neon = function() {
  8.     var E = document.getElementsByClassName("insan");
  9.     var m = E.length;
  10.     var n = parseInt(Math.random()*m);
  11.     if(== 0)
  12.         {
  13.             $(E[5]).removeClass("glow_sixth");
  14.                         $(E[4]).removeClass("glow_fifth");
  15.                         $(E[3]).removeClass("glow_fourth");
  16.                         $(E[2]).removeClass("glow_third");
  17.                         $(E[1]).removeClass("glow_second");
  18.                         $(E[0]).addClass("glow");
  19.                         glowbox_1 = 1;
  20.                         glowbow_2 = 0;
  21.         }
  22.         if(== 1)
  23.         {
  24.             $(E[5]).removeClass("glow_sixth");
  25.                         $(E[4]).removeClass("glow_fifth");
  26.                         $(E[3]).removeClass("glow_fourth");
  27.                         $(E[2]).removeClass("glow_third");
  28.                         $(E[1]).addClass("glow_second");
  29.                         $(E[0]).removeClass("glow");
  30.                         glowbox_1 = 1;
  31.                         glowbow_2 = 0;
  32.         }
  33.         if(== 2)
  34.         {
  35.             $(E[5]).removeClass("glow_sixth");
  36.                         $(E[4]).removeClass("glow_fifth");
  37.                         $(E[3]).removeClass("glow_fourth");
  38.                         $(E[2]).addClass("glow_third");
  39.                         $(E[1]).removeClass("glow_second");
  40.                         $(E[0]).removeClass("glow");
  41.                         glowbox_1 = 1;
  42.                         glowbow_2 = 0;
  43.         }
  44.         if(== 3)
  45.         {
  46.             $(E[5]).removeClass("glow_sixth");
  47.                         $(E[4]).removeClass("glow_fifth");
  48.                         $(E[3]).addClass("glow_fourth");
  49.                         $(E[2]).removeClass("glow_third");
  50.                         $(E[1]).removeClass("glow_second");
  51.                         $(E[0]).removeClass("glow");
  52.                         glowbox_1 = 1;
  53.                         glowbow_2 = 0;
  54.         }
  55.         if(== 4)
  56.         {
  57.             $(E[5]).removeClass("glow_sixth");
  58.                         $(E[4]).addClass("glow_fifth");
  59.                         $(E[3]).removeClass("glow_fourth");
  60.                         $(E[2]).removeClass("glow_third");
  61.                         $(E[1]).removeClass("glow_second");
  62.                         $(E[0]).removeClass("glow");
  63.                         glowbox_1 = 1;
  64.                         glowbow_2 = 0;
  65.         }
  66.     if(== 5)
  67.         {
  68.             $(E[5]).addClass("glow_sixth");
  69.                         $(E[4]).removeClass("glow_fifth");
  70.                         $(E[3]).removeClass("glow_fourth");
  71.                         $(E[2]).removeClass("glow_third");
  72.                         $(E[1]).removeClass("glow_second");
  73.                         $(E[0]).removeClass("glow");
  74.                         glowbox_1 = 1;
  75.                         glowbow_2 = 0;
  76.         }
  77. }
  78. </script>

Editor

You can edit this paste and save as new:


File Description
  • insan
  • Paste Code
  • 22 Jan-2022
  • 2 Kb
You can Share it: