Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <title>Fana</title>
- <link rel="SHORTCUT ICON" href="https://w7.pngwing.com/pngs/22/668/png-transparent-bee-honey-bee-honey-bee-logo-insects.png">
- <body bgcolor="#d9d9d9"><center>
- <audio allow="autoplay" autoplay="" controls="autoplay" id="playAudio" loop="" preload="auto" src="http://docs.google.com/uc?export=open&id=1dK5Qk0IxKJI7z-h54h4oijzHR7AZvoBD" __idm_id__="428928001"></audio><br><br>
- <style type="text/css">
- @font-face {
- font-family: 'akaDora';
- src:url("http://micro.gear.host/font/akaDora.ttf");
- }
- body {
- font-family:"akaDora";
- }
- </style>
- </head>
- <script type="text/javascript">
- TypingText = function(element, interval, cursor, finishedCallback) {
- if((typeof document.getElementById == "undefined") || (typeof element.innerHTML == "undefined")) {
- this.running = true;
- return;
- }
- this.element = element;
- this.finishedCallback = (finishedCallback ? finishedCallback : function() { return; });
- this.interval = (typeof interval == "undefined" ? 100 : interval);
- this.origText = this.element.innerHTML;
- this.unparsedOrigText = this.origText;
- this.cursor = (cursor ? cursor : "");
- this.currentText = "";
- this.currentChar = 0;
- this.element.typingText = this;
- if(this.element.id == "") this.element.id = "typingtext" + TypingText.currentIndex++;
- TypingText.all.push(this);
- this.running = false;
- this.inTag = false;
- this.tagBuffer = "";
- this.inHTMLEntity = false;
- this.HTMLEntityBuffer = "";
- }
- TypingText.all = new Array();
- TypingText.currentIndex = 0;
- TypingText.runAll = function() {
- for(var i = 0; i < TypingText.all.length; i++) TypingText.all[i].run();
- }
- TypingText.prototype.run = function() {
- if(this.running) return;
- if(typeof this.origText == "undefined") {
- setTimeout("document.getElementById('" + this.element.id + "').typingText.run()", this.interval);
- return;
- }
- if(this.currentText == "") this.element.innerHTML = "";
- if(this.currentChar < this.origText.length) {
- if(this.origText.charAt(this.currentChar) == "<" && !this.inTag) {
- this.tagBuffer = "<";
- this.inTag = true;
- this.currentChar++;
- this.run();
- return;
- } else if(this.origText.charAt(this.currentChar) == ">" && this.inTag) {
- this.tagBuffer += ">";
- this.inTag = false;
- this.currentText += this.tagBuffer;
- this.currentChar++;
- this.run();
- return;
- } else if(this.inTag) {
- this.tagBuffer += this.origText.charAt(this.currentChar);
- this.currentChar++;
- this.run();
- return;
- } else if(this.origText.charAt(this.currentChar) == "&" && !this.inHTMLEntity) {
- this.HTMLEntityBuffer = "&";
- this.inHTMLEntity = true;
- this.currentChar++;
- this.run();
- return;
- } else if(this.origText.charAt(this.currentChar) == ";" && this.inHTMLEntity) {
- this.HTMLEntityBuffer += ";";
- this.inHTMLEntity = false;
- this.currentText += this.HTMLEntityBuffer;
- this.currentChar++;
- this.run();
- return;
- } else if(this.inHTMLEntity) {
- this.HTMLEntityBuffer += this.origText.charAt(this.currentChar);
- this.currentChar++;
- this.run();
- return;
- } else {
- this.currentText += this.origText.charAt(this.currentChar);
- }
- this.element.innerHTML = this.currentText;
- this.element.innerHTML += (this.currentChar < this.origText.length - 1 ? (typeof this.cursor == "function" ? this.cursor(this.currentText) : this.cursor) : "");
- this.currentChar++;
- setTimeout("document.getElementById('" + this.element.id + "').typingText.run()", this.interval);
- } else {
- this.currentText = "";
- this.currentChar = 0;
- this.running = false;
- this.finishedCallback();
- }
- }
- </script>
- <font face= "akaDora">
- <font-size: 14px>
- <font id="aa"><font>
- Fana <br>
- Oleh Adilah Putri<br><br>
- Sekali lagi merengkuh sepi <br>
- yakin, aku lupa bagaimana harum <br>
- melati atau potongan basa-basi yang sering <br>
- kau sajikan dengan lagu yang kini selalu aku putar <br>
- atau mungkin hanya soal waktu <br>
- atau mungkin melati hanya perkara lalu, <br>
- bisa jadi aku terlalu senang pada basa-basi, <br>
- kelak aku menjadi mawar; merah dalam <br>
- rekah rasa yang mencandu, dan melati <br>
- berakhir menjadi sekeping kenang <br>
- berbaur sepi. <br><br>
- Menjadi biru itu mudah, aku <br>
- bisa membuktikannya, tenggelam lalu karam <br>
- dalam haru hanya sebatas permainan kata lalu jejak <br>
- yang tertinggal bisa mengikis psikis, sukar untuk <br>
- dihapus, sulit untuk ditepis maka biarkan aku <br>
- menjadi merah, karena biru terlalu sendu, <br>
- dan aku bisa membuktikannya. <br><br>
- Fana. kamu fana <br>
- dan aku masih bisu untuk mengaku. <br><br>
- <font face= "akaDora">
- <font-size: 13px>
- Batam, 28 Juni 2018
- </font>
- <script type="text/javascript">
- new TypingText(document.getElementById("aa"),120 , function(i){ var ar = new Array("."); return " " + ar[i.length % ar.length]; });
- //Type out examples:
- TypingText.runAll();
- </script>
- </body>
- </html>
- <!--
- ########################################################
- // Coded: HarisID
- // Backsound: Alief Rizky | Nadin Amizah - Sorai
- // Puisi Karya: Adilah Putri | Batam, 28 Juni 2018
- // Versi v1.0 Jul 21 2018 | Versi v2.0 May 24 2020
- // Hargai karya orang maka karya anda akan dihargai
- // Greetz: Rifky Kusuma, All My Friends.
- ########################################################
- <!-- #Source HarisID --!>
Advertisement
Add Comment
Please, Sign In to add comment