dollcrds

pro-standard cr akechigoros music player & bg/cursor

Apr 28th, 2024 (edited)
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.18 KB | None | 0 0
  1. ---MUSIC PLAYER---
  2. <link rel="preconnect" href="https://fonts.googleapis.com">
  3. <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="">
  4. <link href="https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@400;500;800&amp;display=swap" rel="stylesheet">
  5.  
  6. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
  7.  
  8. <!-------MUSIC PLAYER BY GLENTHEMES------->
  9. <script src="//static.tumblr.com/gtjt4bo/QRmphdsdv/glenplayer02.js"></script>
  10.  
  11. <style type="text/css">
  12.  
  13. @font-face {
  14. src: url(https://dl.dropbox.com/s/1479f8x52y3z5u4/rainyhearts.ttf);
  15. font-family: hearts;
  16. }
  17. /*-------MUSIC PLAYER BY GLENTHEMES-------*/
  18.  
  19. #cont {
  20. width: 200px;
  21. height: 50px;
  22. background: white;
  23. border-radius: 10px;
  24. border: 1px solid white;
  25. position: relative;
  26. top: -915px;
  27. box-shadow: 0 0 1px 1px white, 0 0 2px 2px #facade;
  28. z-index: 98;
  29. }
  30.  
  31. #glenplayer02 {
  32. position:relative;
  33. top:0px;
  34. width: 170px;
  35. justify-content:center;
  36. text-align: center;
  37. align-contents: center;
  38. left:0px;
  39. margin-left: auto;
  40. margin-right: auto;
  41. display:flex;
  42. z-index:99;
  43. }
  44. #glenplayer02 a {text-decoration:none;}
  45.  
  46. #glenplayer02 > div {
  47. align-self:center;
  48. -webkit-align-self:center;
  49. }
  50.  
  51. .music-controls {
  52. user-select:none;
  53. -webkit-user-select:none;
  54. width:13px;
  55. font-size:18px;
  56. cursor:pointer;
  57. }
  58.  
  59. .playy, .pausee {color:#e8b3c9; text-shadow: -1px 0 #000, 0 1px #000, 1px 0 #000, 0 -1px #000, 0 0;} /* color of play & pause buttons */
  60.  
  61. .pausee {display:none;}
  62.  
  63. .sonata {
  64. margin-left:10px;
  65. font-family: hearts;
  66. line-height: 15px;
  67. font-size:14px;
  68. color:#e8b3c9;
  69. font-weight: bold;
  70. text-shadow: -1px 0 #fff, 0 1px #fff, 1px 0 #fff, 0 -1px #fff, 0 0; /* color of music note symbol */
  71. }
  72.  
  73. .labeltext {
  74. margin-left:0px;
  75. position: relative;
  76. bottom:10px;
  77. font-family: 'M PLUS Rounded 1c', sans-serif;
  78. font-size:14px;
  79. color:#e8b3c9;
  80. font-weight: bold;
  81. text-shadow: -1px 0 #fff, 0 1px #fff, 1px 0 #fff, 0 -1px #fff, 0 0;/* color of song title */
  82. }
  83.  
  84. ange {
  85. position: relative;
  86. bottom: -6px;
  87. }
  88.  
  89. mew {
  90. line-height: 15px;
  91. font-family: love;
  92. color:#facade;
  93. font-size: 15px;
  94. text-shadow:
  95. -.6px -.6px 0 #fff,
  96. .6px -.6px 0 #fff,
  97. -.6px .6px 0 #fff,
  98. .6px .6px 0 #fff,
  99. -.6px 0 0 #fff,
  100. .6px 0 0 #fff,
  101. 0 .6px 0 #fff,
  102. 0 -.6px 0 #fff;
  103. font-family: love;
  104. }
  105.  
  106. #les {
  107.  
  108. height: auto;
  109. width:auto;
  110. position: relative;
  111. bottom:695px;
  112. border-radius: 50px 50px 0 0;
  113. overflow: hidden;
  114.  
  115. }
  116.  
  117. nana {
  118. top: 0px;
  119. z-index: 50;
  120. position: relative;
  121.  
  122. }
  123.  
  124. #line {
  125. width: 100px;
  126. border-radius: 1px;
  127. height: 3px;
  128. position: relative;
  129. z-index: 999;
  130. }
  131.  
  132. #hachi {
  133. margin: 0;
  134. position: absolute;
  135. bottom:-600px;
  136. left: 50%;
  137. transform: translate(-50%, -50%);
  138. z-index:999;
  139. }
  140.  
  141. strawb {
  142. width: 300px;
  143. font-family: hearted;
  144. position: relative;
  145. color: #facade;
  146. font-size: 20px;
  147. }
  148.  
  149. </style>
  150. <center>
  151. <!-------MUSIC PLAYER BY GLENTHEMES------->
  152. <div id="cont">
  153. <mew>Now Playing . . . TXT</mew> <ange><img src="https://files.catbox.moe/wgg34l.gif"></ange>
  154. <div id="glenplayer02">
  155. <div class="music-controls" onclick="songstart();">
  156. <div class="playy"><img src="https://dl.dropbox.com/scl/fi/dklsgt2n2wsh6mnv35xe7/UHtkTZs.gif?rlkey=mxg70hbcont41qvkxba80rbpj&st=ehfo6dkr&dl=0.gif"></div>
  157. <div class="pausee"><img src="https://dl.dropbox.com/scl/fi/dklsgt2n2wsh6mnv35xe7/UHtkTZs.gif?rlkey=mxg70hbcont41qvkxba80rbpj&st=ehfo6dkr&dl=0.gif"></div>
  158. </div>
  159. <div class="sonata"> <marquee>There'll be no more sorrow, I'll see you there tomorrow</marquee> </div>
  160. <div class="labeltext"></div>
  161. </div><!--end music player-->
  162. </div>
  163. <audio id="tune" src="https://dl.dropbox.com/scl/fi/2k057sh85w76p85ce48rp/01-I_ll-See-You-There-Tomorrow.mp3?rlkey=iq7rmm38nqj1eowvs7sn5uldv&st=jb15admg&dl=0.mp3" "audio"=""></audio>
  164. <div id="line"> </div>
  165. <div id="hachi"> <strawb><marquee style="width:499px;">aaaa get nanahachi-ed!?!? <img src="https://64.media.tumblr.com/c4048f22231682f7700cf0a6976d12bc/tumblr_inline_p81vpicCjX1t78dpp_100.gifv"/> </marquee> </strawb> <iframe width="499px" height="178" src="https://files.catbox.moe/d17os7.mp4" frameborder="0" allowfullscreen></iframe>
  166. </center>
  167.  
  168. <div class="labeltext"> </div></body></html>
  169.  
  170. ---BACKGROUND & CURSOR---
  171. <script type="text/javascript">
  172. // <![CDATA[
  173. var bgcolour="#FFE8F2"; // background colour
  174. var fgcolour="#E8B3C9"; // foreground colour
  175. var speed=80; // speed of bubbling, lower is faster
  176. var shades=12; // number of shades of bubble
  177.  
  178. /****************************
  179. * Bubbling Text Effect *
  180. *(c)2003-13 mf2fm web-design*
  181. * http://www.mf2fm.com/rv *
  182. * DON'T EDIT BELOW THIS BOX *
  183. ****************************/
  184. var bubbcol=new Array();
  185. var bubbshd;
  186. var bubbler, bubbtxt;
  187. var bubbchr=new Array();
  188.  
  189. function addLoadEvent(funky) {
  190. var oldonload=window.onload;
  191. if (typeof(oldonload)!='function') window.onload=funky;
  192. else window.onload=function() {
  193. if (oldonload) oldonload();
  194. funky();
  195. }
  196. }
  197.  
  198. addLoadEvent(bubbagump);
  199.  
  200. function bubbagump() { if (document.getElementById) {
  201. var i, fg, bg, col;
  202. for (bubbler=0; bubbler<=shades; bubbler++) {
  203. col="#";
  204. for (i=1; i<6; i+=2) {
  205. bg=parseInt(bgcolour.substring(i,i+2),16);
  206. fg=parseInt(fgcolour.substring(i,i+2),16);
  207. col+=dechex(bg+(fg-bg)*(bubbler/shades));
  208. }
  209. bubbcol[bubbler+1]=col;
  210. if (bubbler==Math.floor(shades/2)) bubbshd=col;
  211. }
  212. bubbler=document.getElementById("bubble");
  213. bubbtxt=bubbler.firstChild.nodeValue;
  214. while (bubbler.childNodes.length) bubbler.removeChild(bubbler.childNodes[0]);
  215. for (i=0; i<bubbtxt.length; i++) {
  216. fg=document.createElement("span");
  217. fg.setAttribute("id", "bubb"+i);
  218. fg.style.textShadow=bubbshd+" 0px 0px 2px";
  219. fg.appendChild(document.createTextNode(bubbtxt.charAt(i)));
  220. bubbler.appendChild(fg);
  221. }
  222. bubbler=setInterval("bubbling()", speed);
  223. }}
  224.  
  225. function dechex(dec) {
  226. dec=Math.floor(dec);
  227. return ((dec<16)?'0':'')+dec.toString(16);
  228. }
  229.  
  230. function bubbling() {
  231. var i, bubby;
  232. for (i=0; i<bubbtxt.length; i++) {
  233. bubby=document.getElementById("bubb"+i);
  234. if (bubbchr[i]) {
  235. bubby.style.color=bubbcol[bubbchr[i]];
  236. bubbchr[i]=(bubbchr[i]+1)%bubbcol.length;
  237. }
  238. else if (Math.random()<7.5/(shades*bubbtxt.length)) bubbchr[i]=1;
  239. }
  240. }
  241. // ]]>
  242.  
  243. var b = document.body;
  244. var imgurl = "https://dl.dropbox.com/scl/fi/d3yfnbbe48co7mjvlkt78/psIMC1h.gif?rlkey=lkiydk331bt8fcmjyi24yu7o9&st=ijb47b2x&dl=0.gif";
  245. var size = [10, 20];
  246. function rand(min, max)
  247. {
  248. return Math.floor(Math.random() * (max - min + 1) + min)
  249. }
  250. function getSize()
  251. {
  252. return rand(size[0], size[1]);
  253. }
  254. function lerp(a,b,f)
  255. {
  256. return (b-a)*f+a;
  257. }
  258. function heart(x,y)
  259. {
  260. var s = getSize();
  261. x -= s/2;
  262. y -= s/2;
  263. x = Math.floor(x) + rand(-5, 5);
  264. y = Math.floor(y) + rand(-5, 5);
  265. var fx = x + rand(-40, 40);
  266. var fy = y + rand(-40, 40);
  267. var i = document.createElement("img");
  268. i.src = imgurl;
  269. i.style = `pointer-events: none; position: fixed; width: ${s}px; left: ${x}px; top: ${y}px; -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; z-index: 1000000;`;
  270. b.appendChild(i);
  271. var f = 0;
  272. var interval;
  273. interval = setInterval(function() {
  274. var _x = Math.floor(lerp(x, fx, f));
  275. var _y = Math.floor(lerp(y, fy, f));
  276. i.style = `pointer-events: none; position: fixed; width: ${s}px; left: ${_x}px; top: ${_y}px; -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; z-index: 1000000;`;
  277. i.style.opacity = 1-f;
  278. f += 0.01;
  279. if (f > 1)
  280. {
  281. clearInterval(interval);
  282. b.removeChild(i);
  283. }
  284. }, 10);
  285. }
  286. function bro(x,y)
  287. {
  288. for (var i = 0; i < 5; i++)
  289. {
  290. heart(x,y);
  291. }
  292. }
  293. b.addEventListener("click", function(event){
  294. var x = event.clientX;
  295. var y = event.clientY;
  296. bro(x,y);
  297. });
  298.  
  299. // <![CDATA[
  300. var colour="#facade"; // what colour are the blobs
  301. var speed=60; // speed of animation, lower is faster
  302. var blobs=30; // how many blobs are in the jar
  303. var charc='\u2661'; // a blob - can be changed to charc='hello' or charc='*' for a different effect
  304.  
  305. /**************************** Blobs in a Jar Effect *
  306. * (c)2012 mf2fm web-design *
  307. * http://www.mf2fm.com/rv *
  308. * DON'T EDIT BELOW THIS BOX *
  309. ***************************/
  310.  
  311. window.onload=fill_the_jar;
  312. var div;
  313. var xpos=new Array();
  314. var ypos=new Array();
  315. var zpos=new Array();
  316. var dx=new Array();
  317. var dy=new Array();
  318. var dz=new Array();
  319. var blob=new Array();
  320. var swide=800;
  321. var shigh=600;
  322. function fill_the_jar() {
  323. var i, dvs;
  324. div=document.createElement('div');
  325. dvs=div.style;
  326. dvs.position='fixed';
  327. dvs.left='0px';
  328. dvs.top='0px';
  329. dvs.width='1px';
  330. dvs.height='1px';
  331. document.body.appendChild(div);
  332. set_width();
  333. for (i=0; i<blobs; i++) {
  334. add_blob(i);
  335. jamjar(i);
  336. }
  337. }
  338.  
  339. function add_blob(ref) {
  340. var dv, sy;
  341. dv=document.createElement('div');
  342. dv.appendChild(document.createTextNode(charc));
  343. sy=dv.style;
  344. sy.position='absolute';
  345. sy.textAlign="center";
  346. if (navigator.appName=="Microsoft Internet Explorer") {
  347. sy.fontSize="10px";
  348. sy.width="100px";
  349. sy.height="100px";
  350. sy.paddingTop="40px";
  351. sy.color=colour;
  352. }
  353. else sy.color='rgba(0,0,0,0)';
  354. ypos[ref]=Math.floor(shigh*Math.random());
  355. dy[ref]=(0.5+Math.random())*(Math.random()>.5?2:-2);
  356. xpos[ref]=Math.floor(swide*Math.random());
  357. dx[ref]=(0.5+Math.random())*(Math.random()>.5?2:-2);
  358. zpos[ref]=Math.random()*20;
  359. dz[ref]=(0.5+Math.random())*(Math.random()>.5?.5:-.5);
  360. blob[ref]=dv;
  361. div.appendChild(blob[ref]);
  362. set_blob(ref);
  363. }
  364. function rejig(ref, xy) {
  365. if (xy=='y') {
  366. dx[ref]=(0.5+Math.random())*sign(dx[ref]);
  367. dy[ref]=(0.5+Math.random())*-sign(dy[ref]);
  368. }
  369. else {
  370. dx[ref]=(0.5+Math.random())*-sign(dx[ref]);
  371. dy[ref]=(0.5+Math.random())*sign(dy[ref]);
  372. }
  373. }
  374. function sign(a) {
  375. if (a<0) return (-2);
  376. else if (a>0) return (2);
  377. else return (0);
  378. }
  379. function set_blob(ref) {
  380. var sy;
  381. sy=blob[ref].style;
  382. sy.top=ypos[ref]+'px';
  383. sy.left=xpos[ref]+'px';
  384. if (navigator.appName=="Microsoft Internet Explorer") {
  385. sy.filter="glow(color="+colour+",strength="+zpos[ref]+")";
  386. sy.fontSize=30-zpos[ref]+"px";
  387. }
  388. else {
  389. sy.textShadow=colour+' 0px 0px '+zpos[ref]+'px';
  390. sy.fontSize=40+zpos[ref]+'px';
  391. }
  392. }
  393. function jamjar(ref) {
  394. if (ypos[ref]+dy[ref]<-50 || ypos[ref]+dy[ref]>shigh) rejig(ref, 'y');
  395. ypos[ref]+=dy[ref];
  396. if (xpos[ref]+dx[ref]<-50 || xpos[ref]+dx[ref]>swide) rejig(ref, 'x');
  397. xpos[ref]+=dx[ref];
  398. if (zpos[ref]+dz[ref]<0 || zpos[ref]+dz[ref]>20) dz[ref]=-dz[ref];
  399. zpos[ref]+=dz[ref];
  400. set_blob(ref);
  401. setTimeout("jamjar("+ref+")", speed);
  402. }
  403.  
  404. window.onresize=set_width;
  405. function set_width() {
  406. var sw_min=999999;
  407. var sh_min=999999;
  408. if (document.documentElement && document.documentElement.clientWidth) {
  409. if (document.documentElement.clientWidth>0) sw_min=document.documentElement.clientWidth;
  410. if (document.documentElement.clientHeight>0) sh_min=document.documentElement.clientHeight;
  411. }
  412. if (typeof(self.innerWidth)!="undefined" && self.innerWidth) {
  413. if (self.innerWidth>0 && self.innerWidth<sw_min) sw_min=self.innerWidth;
  414. if (self.innerHeight>0 && self.innerHeight<sh_min) sh_min=self.innerHeight;
  415. }
  416. if (document.body.clientWidth) {
  417. if (document.body.clientWidth>0 && document.body.clientWidth<sw_min) sw_min=document.body.clientWidth;
  418. if (document.body.clientHeight>0 && document.body.clientHeight<sh_min) sh_min=document.body.clientHeight;
  419. }
  420. if (sw_min==999999 || sh_min==999999) {
  421. sw_min=800;
  422. sh_min=600;
  423. }
  424. swide=sw_min;
  425. shigh=sh_min;
  426. }
  427. // ]]>
  428. </script>
Add Comment
Please, Sign In to add comment