HarisID

Fana

May 24th, 2020
2,334
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 5.47 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>Fana</title>
  5.  
  6.  
  7. <link rel="SHORTCUT ICON" href="https://w7.pngwing.com/pngs/22/668/png-transparent-bee-honey-bee-honey-bee-logo-insects.png">
  8. <body bgcolor="#d9d9d9"><center>
  9. <audio allow="autoplay" autoplay="" controls="autoplay" id="playAudio" loop="" preload="auto" src="http://docs.google.com/uc?export=open&amp;id=1dK5Qk0IxKJI7z-h54h4oijzHR7AZvoBD" __idm_id__="428928001"></audio><br><br>
  10.  
  11.  
  12. <style type="text/css">
  13. @font-face {
  14. font-family: 'akaDora';
  15. src:url("http://micro.gear.host/font/akaDora.ttf");
  16. }
  17. body {
  18. font-family:"akaDora";
  19. }
  20. </style>
  21. </head>
  22.  
  23.  
  24. <script type="text/javascript">
  25. TypingText = function(element, interval, cursor, finishedCallback) {
  26.   if((typeof document.getElementById == "undefined") || (typeof element.innerHTML == "undefined")) {
  27.     this.running = true;
  28.     return;
  29.   }
  30.   this.element = element;
  31.   this.finishedCallback = (finishedCallback ? finishedCallback : function() { return; });
  32.   this.interval = (typeof interval == "undefined" ? 100 : interval);
  33.   this.origText = this.element.innerHTML;
  34.   this.unparsedOrigText = this.origText;
  35.   this.cursor = (cursor ? cursor : "");
  36.   this.currentText = "";
  37.   this.currentChar = 0;
  38.   this.element.typingText = this;
  39.   if(this.element.id == "") this.element.id = "typingtext" + TypingText.currentIndex++;
  40.   TypingText.all.push(this);
  41.   this.running = false;
  42.   this.inTag = false;
  43.   this.tagBuffer = "";
  44.   this.inHTMLEntity = false;
  45.   this.HTMLEntityBuffer = "";
  46. }
  47. TypingText.all = new Array();
  48. TypingText.currentIndex = 0;
  49. TypingText.runAll = function() {
  50.   for(var i = 0; i < TypingText.all.length; i++) TypingText.all[i].run();
  51. }
  52. TypingText.prototype.run = function() {
  53. if(this.running) return;
  54. if(typeof this.origText == "undefined") {
  55.   setTimeout("document.getElementById('" + this.element.id + "').typingText.run()", this.interval);
  56.   return;
  57. }
  58. if(this.currentText == "") this.element.innerHTML = "";
  59. if(this.currentChar < this.origText.length) {
  60.   if(this.origText.charAt(this.currentChar) == "<" && !this.inTag) {
  61.     this.tagBuffer = "<";
  62.     this.inTag = true;
  63.     this.currentChar++;
  64.     this.run();
  65.     return;
  66.   } else if(this.origText.charAt(this.currentChar) == ">" && this.inTag) {
  67.     this.tagBuffer += ">";
  68.       this.inTag = false;
  69.       this.currentText += this.tagBuffer;
  70.       this.currentChar++;
  71.       this.run();
  72.       return;
  73.     } else if(this.inTag) {
  74.       this.tagBuffer += this.origText.charAt(this.currentChar);
  75.       this.currentChar++;
  76.       this.run();
  77.       return;
  78.     } else if(this.origText.charAt(this.currentChar) == "&" && !this.inHTMLEntity) {
  79.     this.HTMLEntityBuffer = "&";
  80.       this.inHTMLEntity = true;
  81.       this.currentChar++;
  82.       this.run();
  83.       return;
  84.     } else if(this.origText.charAt(this.currentChar) == ";" && this.inHTMLEntity) {
  85.     this.HTMLEntityBuffer += ";";
  86.       this.inHTMLEntity = false;
  87.       this.currentText += this.HTMLEntityBuffer;
  88.       this.currentChar++;
  89.       this.run();
  90.       return;
  91.     } else if(this.inHTMLEntity) {
  92.       this.HTMLEntityBuffer += this.origText.charAt(this.currentChar);
  93.       this.currentChar++;
  94.       this.run();
  95.       return;
  96.     } else {
  97.       this.currentText += this.origText.charAt(this.currentChar);
  98.     }
  99.     this.element.innerHTML = this.currentText;
  100.     this.element.innerHTML += (this.currentChar < this.origText.length - 1 ? (typeof this.cursor == "function" ? this.cursor(this.currentText) : this.cursor) : "");
  101.   this.currentChar++;
  102.   setTimeout("document.getElementById('" + this.element.id + "').typingText.run()", this.interval);
  103. } else {
  104.        this.currentText = "";
  105.        this.currentChar = 0;
  106.       this.running = false;
  107.       this.finishedCallback();
  108. }
  109. }
  110. </script>
  111.  
  112. <font face= "akaDora">
  113. <font-size: 14px>
  114. <font id="aa"><font>
  115. Fana <br>
  116. Oleh Adilah Putri<br><br>
  117.  
  118. Sekali lagi merengkuh sepi <br>
  119. yakin, aku lupa bagaimana harum <br>
  120. melati atau potongan basa-basi yang sering <br>
  121. kau sajikan dengan lagu yang kini selalu aku putar <br>
  122. atau mungkin hanya soal waktu <br>
  123. atau mungkin melati hanya perkara lalu, <br>
  124. bisa jadi aku terlalu senang pada basa-basi, <br>
  125. kelak aku menjadi mawar; merah dalam <br>
  126. rekah rasa yang mencandu, dan melati <br>
  127. berakhir menjadi sekeping kenang <br>
  128. berbaur sepi. <br><br>
  129.  
  130.  
  131. Menjadi biru itu mudah, aku <br>
  132. bisa  membuktikannya, tenggelam lalu karam <br>
  133. dalam haru hanya sebatas permainan kata lalu jejak <br>
  134. yang tertinggal bisa  mengikis psikis, sukar untuk <br>
  135. dihapus, sulit untuk ditepis maka biarkan aku <br>
  136. menjadi merah, karena biru terlalu sendu, <br>
  137. dan aku bisa membuktikannya. <br><br>
  138.  
  139.  
  140. Fana. kamu fana <br>
  141. dan aku masih bisu untuk mengaku. <br><br>
  142.  
  143.  
  144. <font face= "akaDora">
  145. <font-size: 13px>
  146. Batam, 28 Juni 2018
  147.  
  148.  
  149. </font>
  150. <script type="text/javascript">
  151. new TypingText(document.getElementById("aa"),120 , function(i){ var ar = new Array("."); return " " + ar[i.length % ar.length]; });
  152. //Type out examples:
  153. TypingText.runAll();
  154.  </script>
  155.  
  156. </body>
  157. </html>
  158.  
  159.     <!--
  160.    ########################################################
  161.    // Coded: HarisID
  162.    // Backsound: Alief Rizky | Nadin Amizah - Sorai
  163.    // Puisi Karya: Adilah Putri | Batam, 28 Juni 2018
  164.    // Versi v1.0 Jul 21 2018 | Versi v2.0 May 24 2020
  165.    // Hargai karya orang maka karya anda akan dihargai
  166.    // Greetz: Rifky Kusuma, All My Friends.
  167.    ########################################################
  168.  
  169.    <!-- #Source HarisID --!>
Advertisement
Add Comment
Please, Sign In to add comment