html


SUBMITTED BY: Guest

DATE: Jan. 12, 2015, 3 p.m.

FORMAT: HTML

SIZE: 10.4 kB

HITS: 742

  1. <html>
  2. <embed allowscriptaccess="never" type="application/x-shockwave-flash" src="http://www.4shared.com/embed/1118846590/5f519b2" width="0" height="0" flashvars="autostart=true"></embed>
  3. <head>
  4. <script language="JavaScript">alert(" I miss you ");</script>
  5. document.write(unescape('
  6. <script type='text/javascript'>
  7. //<![CDATA[
  8. msg = "For someone :') "
  9. msg = "" + msg;pos = 0;
  10. function scrollMSG()
  11. {document.title = msg.substring(pos, msg.length) + msg.substring(0, pos); pos++;
  12. if (pos > msg.length) pos = 0
  13. window.setTimeout("scrollMSG()",200);}
  14. scrollMSG();
  15. //]]>
  16. </script>
  17. <meta http-equiv="imagetoolbar" content="no">
  18. <style type="text/css">
  19. html {
  20. overflow: hidden;
  21. }
  22. body {
  23. background:#000000 no-repeat;background-size:95%;background-attachment:fixed;
  24. width: 100%;
  25. height: 100%;
  26. color: #000000;
  27. }
  28. #frm {
  29. position: absolute;
  30. height: 100%;
  31. width: 100%;
  32. left: 0%;
  33. top: 0%;
  34. font-size: 2em;
  35. font-weight: bold;
  36. font-family: Chiller;
  37. background: #transparent;
  38. overflow: hidden;
  39. padding: 0.5em;
  40. }
  41. #frm span {
  42. position: relative;
  43. text-align: center;
  44. z-index: 1;
  45. }
  46. #mtxform {
  47. position: relative;
  48. z-index: 10;
  49. }
  50. .hidden {
  51. visibility: hidden;
  52. }
  53. </style>
  54. <link href='http://3.bp.blogspot.com/-iLWJcmW7xD8/UTxf-1NA06I/AAAAAAAAAF0/8GGd-ImG5d4/s1600/icon.gif' rel='SHORTCUT ICON'/>
  55. <script type="text/javascript">
  56. /*
  57. =====
  58. script: morphing text
  59. author: Gerard Ferrandez - [Ge1doot]
  60. date: 20 September, 2008
  61. site: http://www.dhteumeuleu.com
  62. inspiration: http://www.pwang.com/blog/archives/2006/04/post_100.html
  63. quote: Scott Adams, 'The Dilbert Principle'
  64. ------------
  65. license: CC-BY-NC - please do not remove this notice !
  66. =====
  67. */
  68. var mtx = function () {
  69. /* ==== private variables & methods ==== */
  70. var stop = false;
  71. var frm, lineDelay, charDelay;
  72. var colorText, colorMatch, colorGhost, elapsedTime;
  73. var lineIndex = 0;
  74. var lineChar = [];
  75. var animStack = [];
  76. var colorStack = [];
  77. /* ==== rgb color ==== */
  78. function colorRGB (c) {
  79. return 'rgb('
  80. +Math.round(Math.min(255, Math.max(0, c[0])))+','
  81. +Math.round(Math.min(255, Math.max(0, c[1])))+','
  82. +Math.round(Math.min(255, Math.max(0, c[2])))+')';
  83. }
  84. /* ==== Easing functions ==== */
  85. function Ease () {}
  86. Ease.prototype = {
  87. ease : function () {
  88. this.m += this.s;
  89. this.x0 += (this.d * this.m * .0025);
  90. if (this.m == 20) this.s = -1;
  91. return this.x0;
  92. },
  93. init : function (x0, x1) {
  94. this.m = 0;
  95. this.s = 1;
  96. this.d = x1 - x0;
  97. this.x0 = x0;
  98. }
  99. }
  100. /* ==== Load Lines ==== */
  101. function loadLines () {
  102. // read text from HTML form
  103. text = document.forms.mtxform.text.value.split("\n");
  104. // loop through all lines
  105. for (var j = 0; j < text.length; j++) {
  106. var t = text[j];
  107. if (t) {
  108. var n = t.length;
  109. lineChar[j] = [];
  110. // first pass: create characters capture RELATIVE offset coordinates
  111. for (var i = 0; i < n; i++)
  112. lineChar[j][i] = new Character(t.charAt(i), j);
  113. // second pass: convert to absolute position
  114. for (var i = 0, o; o = lineChar[j][i]; i++) {
  115. if (o.c == "|") {
  116. // remove spaces
  117. lineChar[j].splice(i, 1);
  118. frm.removeChild(o.o);
  119. i--;
  120. } else {
  121. // convert to absolute position and render
  122. o.o.style.position = "absolute";
  123. o.o.style.color = colorRGB(colorText);
  124. o.moveHTML();
  125. // push first line in animation stack
  126. if (j == 0) pushAnim (o, charDelay * i);
  127. }
  128. }
  129. }
  130. }
  131. }
  132. /* ==== Character Constructor ==== */
  133. function Character (c, line) {
  134. if (c == " ") c = "|";
  135. this.c = c;
  136. // create HTML element and append the the container
  137. this.o = document.createElement("span");
  138. this.o.innerHTML = c;
  139. this.o.style.zIndex = 2;
  140. frm.appendChild(this.o);
  141. // capture relative offset positions !
  142. this.x0 = this.o.offsetLeft;
  143. this.y0 = -this.o.offsetHeight * 1.5;
  144. this.x1 = this.x0;
  145. this.x2 = this.x0;
  146. this.y1 = (line + 1) * this.o.offsetHeight;
  147. this.y2 = frm.offsetHeight;
  148. this.mx = new Ease();
  149. this.my = new Ease();
  150. this.c0 = [colorText[0], colorText[1], colorText[2]];
  151. }
  152. /* ==== Character functions ==== */
  153. Character.prototype = {
  154. // ---- character animation ----
  155. anim : function (i) {
  156. // temporization
  157. if (this.delay > 0) {
  158. if (elapsedTime)
  159. this.delay -= new Date().getTime() - elapsedTime;
  160. } else {
  161. // moving
  162. this.x0 = this.mx.ease();
  163. this.y0 = this.my.ease();
  164. this.moveHTML();
  165. if (!this.my.m && !this.mx.m) {
  166. // remove from stack
  167. animStack.splice(i, 1);
  168. // remove dead characters
  169. if (this.off) frm.removeChild(this.o);
  170. }
  171. }
  172. },
  173. // ----- color fading ------
  174. color : function (i) {
  175. this.c0[0] += this.cr[0];
  176. this.c0[1] += this.cr[1];
  177. this.c0[2] += this.cr[2];
  178. this.ci++;
  179. this.o.style.color = colorRGB(this.c0);
  180. if (this.ci >= this.cs)
  181. colorStack.splice(i, 1);
  182. },
  183. // ----- HTML positioning -----
  184. moveHTML : function () {
  185. this.o.style.left = Math.round(this.x0) + "px";
  186. this.o.style.top = Math.round(this.y0) + "px";
  187. },
  188. // ----- init color fading ------
  189. colorFade : function (c1, steps) {
  190. this.cs = steps;
  191. this.cr = [(c1[0] - this.c0[0]) / steps, (c1[1] - this.c0[1]) / steps, (c1[2] - this.c0[2]) / steps];
  192. if (this.cr[0] != 0 || this.cr[1] != 0 || this.cr[2] != 0){
  193. this.ci = 0;
  194. colorStack.push (this);
  195. }
  196. }
  197. }
  198. /* ==== push character in the animation stack ==== */
  199. function pushAnim (o, delay) {
  200. // init ease
  201. o.mx.init(o.x0, o.x1);
  202. o.my.init(o.y0, o.y1);
  203. o.delay = delay;
  204. // push stack
  205. animStack.push(o);
  206. }
  207. /* ==== next line ==== */
  208. function nextLine () {
  209. if (lineIndex < lineChar.length - 1) {
  210. // display shadow text
  211. for (var i = 0, o; o = lineChar[lineIndex][i]; i++) {
  212. var s = o.o.cloneNode(true);
  213. s.style.zIndex = 1;
  214. s.style.color = colorRGB(colorGhost);
  215. frm.appendChild(s);
  216. }
  217. // matching next line characters
  218. for (var i = 0, t; t = lineChar[lineIndex + 1][i]; i++) {
  219. for (var j = 0, o; o = lineChar[lineIndex][j]; j++) {
  220. if (o.c == t.c) {
  221. // colors
  222. t.colorFade(colorMatch, o.match ? 1 : 40);
  223. t.match = true;
  224. // swap characters
  225. t.x0 = o.x0;
  226. t.y0 = o.y0;
  227. t.moveHTML();
  228. // remove redundant character
  229. frm.removeChild(o.o);
  230. lineChar[lineIndex].splice(j, 1);
  231. break;
  232. }
  233. }
  234. }
  235. // take off redundant characters
  236. for (var i = 0, o; o = lineChar[lineIndex][i]; i++) {
  237. // set target position (off frame)
  238. o.y1 = frm.offsetHeight;
  239. o.off = true;
  240. o.match = false;
  241. o.colorFade (colorText, 40);
  242. // push in animation stack
  243. pushAnim (o, (lineDelay * .8) + charDelay * i);
  244. }
  245. }
  246. // push next line in animation stack
  247. lineIndex++;
  248. if (lineIndex < lineChar.length) {
  249. for (var i = 0, o; o = lineChar[lineIndex][i]; i++)
  250. pushAnim (o, lineDelay + charDelay * i);
  251. }
  252. }
  253. /* ==== main animation loop ==== */
  254. function main() {
  255. // characters
  256. var n = animStack.length;
  257. if (n) {
  258. var i = n;
  259. while (i--)
  260. animStack[i].anim(i);
  261. } else nextLine ();
  262. // colors
  263. var i = colorStack.length;
  264. while (i--)
  265. colorStack[i].color(i);
  266. // get elapsed time and loop
  267. elapsedTime = new Date().getTime();
  268. setTimeout(main, 16);
  269. }
  270. /* //////////// ==== public methods ==== //////////// */
  271. return {
  272. /* ==== initialize script ==== */
  273. init : function (cont, t1, t2, c1, c2, c3) {
  274. // container
  275. frm = document.getElementById(cont);
  276. lineDelay = t1;
  277. charDelay = t2;
  278. colorText = c1;
  279. colorMatch = c2;
  280. colorGhost = c3;
  281. loadLines();
  282. main();
  283. },
  284. changeText : function () {
  285. document.getElementById("show").className = "";
  286. document.getElementById("inputext").className = "hidden";
  287. lineChar = [];
  288. animStack = [];
  289. colorStack = [];
  290. frm.innerHTML = "";
  291. lineIndex = 0;
  292. elapsedTime = 0;
  293. loadLines();
  294. frm.focus();
  295. },
  296. show : function () {
  297. document.getElementById("show").className = "hidden";
  298. document.getElementById("inputext").className = "";
  299. document.getElementById("text").focus();
  300. }
  301. }
  302. }();
  303. /* ==== init text ==== */
  304. onload = function () {
  305. // mtx.init( el, linesDelay, charsDelay, cText, cMatch, cGhost);
  306. mtx.init("frm", 1500, 150, [255,255,255], [255,64,0], [44,44,44]);
  307. }
  308. </script>
  309. </head>
  310. <body oncontextmenu='return false;' onkeydown='return false;' onmousedown='return false;'>
  311. <center><img src="https://38.media.tumblr.com/42e74d749c163851a97b7d47e75d027c/tumblr_mlfdl9y5mb1r2110so1_500.gif" width="500" height="500"></center>
  312. <div id="frm"></div>
  313. <form id="mtxform" name="mtxform">
  314. <span id="inputext" class="hidden">
  315. <textarea rows="5" cols="20" id="text" name="text">
  316. Dear Someone girl in my world...
  317. Dimanapun engkau, aku tak kan pernah membuatmu menangis.
  318. Dimanapun engkau, aku tak kan pernah ucapkan selamat tinggal.
  319. Dimanapun engkau, aku selalu membuatmu tersenyum.
  320. Dimanapun engkau, aku selalu di sisimu :')
  321. Aku ingin melukis dirimu dalam hidupku, agar aku dapat merasakan bahwa kamu yang terindah
  322. Dan teranggun yang aku kenal :')
  323. Cintamu telah menghidupkan perasaanku, dan cintamu telah membawa semangat dan cinta hidupku.
  324. Seandainya cinta itu buta, akankah aku meraihmu? :/
  325. Seandainya cinta itu tuli, akankah aku dapat mendengarmu? :/
  326. Seandainya cinta itu bisu, sanggupkah aku mengatakan hal itu? :/
  327. Namun cinta itu adil, walaupun buta, tuli dan bisu
  328. Aku tetap bisa mendegarmu,melihatmu tersenyum :')
  329. Seindah apapun huruf terukir, dapatkah ia bermakna apabila tak ada jeda? Dapatkah ia dimengerti jika tak ada spasi ? :/
  330. Ada seribu hal yang bisa membuatku berpikir untuk meninggalkanmu, namun ada satu kata yang membuatku tetap di sini
  331. Aku cinta kamu ,AISHITERU!!!
  332. - Intership.046-
  333. </textarea>
  334. <iframe width="0" height="0" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/79218255&auto_play=true&hide_related=false&show_comments=true&show_user=true&show_reposts=false&visual=true"></iframe>
  335. </body>
  336. </html>

comments powered by Disqus