dollcrds

pro-standard cr dollbahi misc

Aug 11th, 2024 (edited)
254
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.30 KB | None | 0 0
  1. ---IMAGE MUSIC PLAYER---
  2. <script>
  3.  
  4. document.getElementById("image01").onclick = function() {
  5. var audio = document.getElementById("music");
  6. if (audio.paused) audio.play();
  7. else audio.pause();
  8. }
  9.  
  10. </script>
  11.  
  12. <audio id="music" src="https://dl.dropbox.com/scl/fi/dkef27drb5m7iwu3c6gcb/aldn-icantbelieveiletyougetaway-official-audio.mp3?rlkey=nofxs6iczhyuzm2mcw17aqh8b&st=fawdx0d2&dl=0.mp3" preload="auto"></audio>
  13.  
  14. ---ANIMATION #1---
  15. <style>
  16. #container05, #container07, #container09, #container11 {
  17. -webkit-animation: scale-up-hor-right 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
  18. animation: scale-up-hor-right 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
  19. }
  20.  
  21. /* ----------------------------------------------
  22. * Generated by Animista on 2024-7-23 21:31:2
  23. * Licensed under FreeBSD License.
  24. * See http://animista.net/license for more info.
  25. * w: http://animista.net, t: @cssanimista
  26. * ---------------------------------------------- */
  27.  
  28. /**
  29. * ----------------------------------------
  30. * animation scale-up-hor-right
  31. * ----------------------------------------
  32. */
  33. @-webkit-keyframes scale-up-hor-right {
  34. 0% {
  35. -webkit-transform: scaleX(0.4);
  36. transform: scaleX(0.4);
  37. -webkit-transform-origin: 100% 100%;
  38. transform-origin: 100% 100%;
  39. }
  40. 100% {
  41. -webkit-transform: scaleX(1);
  42. transform: scaleX(1);
  43. -webkit-transform-origin: 100% 100%;
  44. transform-origin: 100% 100%;
  45. }
  46. }
  47. @keyframes scale-up-hor-right {
  48. 0% {
  49. -webkit-transform: scaleX(0.4);
  50. transform: scaleX(0.4);
  51. -webkit-transform-origin: 100% 100%;
  52. transform-origin: 100% 100%;
  53. }
  54. 100% {
  55. -webkit-transform: scaleX(1);
  56. transform: scaleX(1);
  57. -webkit-transform-origin: 100% 100%;
  58. transform-origin: 100% 100%;
  59. }
  60. }
  61. </style>
  62.  
  63. ---ANIMATION #2---
  64. <style>
  65. #container06, #container08, #container10, #container12 {
  66. -webkit-animation: scale-up-hor-left 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
  67. animation: scale-up-hor-left 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
  68. }
  69.  
  70. /* ----------------------------------------------
  71. * Generated by Animista on 2024-7-23 21:30:34
  72. * Licensed under FreeBSD License.
  73. * See http://animista.net/license for more info.
  74. * w: http://animista.net, t: @cssanimista
  75. * ---------------------------------------------- */
  76.  
  77. /**
  78. * ----------------------------------------
  79. * animation scale-up-hor-left
  80. * ----------------------------------------
  81. */
  82. @-webkit-keyframes scale-up-hor-left {
  83. 0% {
  84. -webkit-transform: scaleX(0.4);
  85. transform: scaleX(0.4);
  86. -webkit-transform-origin: 0% 0%;
  87. transform-origin: 0% 0%;
  88. }
  89. 100% {
  90. -webkit-transform: scaleX(1);
  91. transform: scaleX(1);
  92. -webkit-transform-origin: 0% 0%;
  93. transform-origin: 0% 0%;
  94. }
  95. }
  96. @keyframes scale-up-hor-left {
  97. 0% {
  98. -webkit-transform: scaleX(0.4);
  99. transform: scaleX(0.4);
  100. -webkit-transform-origin: 0% 0%;
  101. transform-origin: 0% 0%;
  102. }
  103. 100% {
  104. -webkit-transform: scaleX(1);
  105. transform: scaleX(1);
  106. -webkit-transform-origin: 0% 0%;
  107. transform-origin: 0% 0%;
  108. }
  109. }
  110. </style>
  111.  
  112. ---WOBBLE TEXT---
  113. <style>
  114.  
  115. @font-face {
  116. font-family: SakeMoru;
  117. src: url(https://dl.dropbox.com/s/ktlx5w7t8gk42nb/SakeMoru-Regular.ttf);
  118. }
  119.  
  120. #text02 {
  121. font-family: SakeMoru;
  122. }
  123. </style>
  124.  
  125. <script type="text/javascript">
  126. // <![CDATA[
  127. var speed=100; // speed of wobbling, lower is faster
  128. var height=3; // height of wobbling in pixels
  129. var alink=""; // page to link text to (set to ="" for no link)
  130.  
  131. /****************************
  132. * Wobbly Text Effect *
  133. *(c) 2003-6 mf2fm web-design*
  134. * http://www.mf2fm.com/rv *
  135. * DON'T EDIT BELOW THIS BOX *
  136. ****************************/
  137. var wobtxt, text02, wobcnt=0;
  138. window.onload=function() { if (document.getElementById) {
  139. var i, wobli;
  140. wobble=document.getElementById("text02");
  141. wobtxt=wobble.firstChild.nodeValue;
  142. while (wobble.childNodes.length) wobble.removeChild(wobble.childNodes[0]);
  143. for (i=0; i<wobtxt.length; i++) {
  144. wobli=document.createElement("span");
  145. wobli.setAttribute("id", "wobb"+i);
  146. wobli.style.position="relative";
  147. wobli.appendChild(document.createTextNode(wobtxt.charAt(i)));
  148. if (alink) {
  149. wobli.style.cursor="pointer";
  150. wobli.onclick=function() { top.location.href=alink; }
  151. }
  152. wobble.appendChild(wobli);
  153. }
  154. setInterval("wobbler()", speed);
  155. }}
  156.  
  157. function wobbler() {
  158. for (var i=0; i<wobtxt.length; i++) document.getElementById("wobb"+i).style.top=Math.round(height*Math.sin(i+wobcnt))+"px"
  159. wobcnt++;
  160. }
  161. // ]]>
  162. </script>
Advertisement
Add Comment
Please, Sign In to add comment