mixue

cr seomplayer (misc)

Apr 7th, 2023 (edited)
2,296
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.37 KB | None | 0 0
  1. * PLEASE CREDIT SEOMPLAYER WHEN REMAKING *
  2.  
  3. --- TOP BANNER ---
  4. <link rel="stylesheet" href="https://unpkg.com/98.css">
  5. <div class="window">
  6. <div class="title-bar" style="background: linear-gradient(90deg, #000, #fff);">
  7. <div class="title-bar-text">https://www.name.com</div>
  8. <div class="title-bar-controls">
  9. <button aria-label="Minimize"></button>
  10. <button aria-label="Maximize"></button>
  11. <button aria-label="Close"></button>
  12. </div>
  13. </div>
  14. </div>
  15.  
  16. --- ALL FONTS ---
  17. @font-face {
  18. font-family: 'icons';
  19. src: url(https://dl.dropbox.com/s/2tohzt1ogc3bueo/IconBitTwo.ttf);
  20. }
  21.  
  22. @font-face {
  23. font-family: Pixelated MS Sans Serif;
  24. src:url(ms_sans_serif.woff) format("woff");
  25. src:url(ms_sans_serif.woff2) format("woff2");
  26. }
  27.  
  28. --- SCROLLBAR ---
  29. ::-webkit-scrollbar {
  30. width: 1em;
  31. }
  32.  
  33. --- ADDRESS ---
  34. <div class="field-row-stacked">
  35. <label for="text18">Email</label>
  36. <input id="text18" type="text" />
  37. </div>
  38. <div class="field-row-stacked">
  39. <label for="text19">Credit Card Number</label>
  40. <input id="text18" type="text" />
  41. </div>
  42.  
  43. --- YES/NO ---
  44. <div class="field-row">
  45. <input id="radio5" type="radio" name="first-example">
  46. <label for="radio5">Yes</label>
  47. </div>
  48. <div class="field-row">
  49. <input id="radio6" type="radio" name="first-example">
  50. <label for="radio6">No</label>
  51. </div>
  52.  
  53. --- SOUND EFFECT ---
  54. <script>
  55.  
  56. // Mouseover/ Click sound effect- by JavaScript Kit (www.javascriptkit.com)
  57. // Visit JavaScript Kit at http://www.javascriptkit.com/ for full source code
  58.  
  59. //** Usage: Instantiate script by calling: var uniquevar=createsoundbite("soundfile1", "fallbackfile2", "fallebacksound3", etc)
  60. //** Call: uniquevar.playclip() to play sound
  61.  
  62. var html5_audiotypes={ //define list of audio file extensions and their associated audio types. Add to it if your specified audio file isn't on this list:
  63. "mp3": "audio/mpeg",
  64. "mp4": "audio/mp4",
  65. "ogg": "audio/ogg",
  66. "wav": "audio/wav"
  67. }
  68.  
  69. function createsoundbite(sound){
  70. var html5audio=document.createElement('audio')
  71. if (html5audio.canPlayType){ //check support for HTML5 audio
  72. for (var i=0; i<arguments.length; i++){
  73. var sourceel=document.createElement('source')
  74. sourceel.setAttribute('src', arguments[i])
  75. if (arguments[i].match(/\.(\w+)$/i))
  76. sourceel.setAttribute('type', html5_audiotypes[RegExp.$1])
  77. html5audio.appendChild(sourceel)
  78. }
  79. html5audio.load()
  80. html5audio.playclip=function(){
  81. html5audio.pause()
  82. html5audio.currentTime=0
  83. html5audio.play()
  84. }
  85. return html5audio
  86. }
  87. else{
  88. return {playclip:function(){throw new Error("Your browser doesn't support HTML5 audio unfortunately")}}
  89. }
  90. }
  91.  
  92. //Initialize two sound clips with 1 fallback file each:
  93.  
  94. var mouseoversound=createsoundbite("https://a.tumblr.com/tumblr_ojrn7aGBii1w2e2oyo1.mp3")
  95. var clicksound=createsoundbite("https://a.tumblr.com/tumblr_ojrmy55yUN1w2e2oyo1.mp3")
  96.  
  97. </script>
  98.  
  99. <script>
  100. document.getElementById('elementID').onclick = function() {
  101. document.getElementById('sound').play();
  102. }
  103. document.getElementById('elementID').onclick = function() {
  104. document.getElementById('sound').play();
  105. }
  106. document.getElementById('elementID').onclick = function() {
  107. document.getElementById('sound').play();
  108. }
  109. </script>
  110. <audio id="sound" src="https://a.tumblr.com/tumblr_ojrmy55yUN1w2e2oyo1.mp3" preload="auto"></audio>
  111.  
  112. --- VOLUME ---
  113. <div class="field-row">
  114. <label for="range25">Vol:</label>
  115. <label for="range26">-</label>
  116. <input id="range26" type="range" min="1" max="11" value="5" />
  117. <label for="range27">+</label>
  118. </div>
  119.  
  120. --- BOTTOM BANNER ---
  121. <div class="window" style="box-shadow: inset -1px -0px #0a0a0a,inset 1px 1px #fff,inset -2px -0px grey,inset 2px 2px #dfdfdf;"><div class="status-bar"><p class="status-bar-field">Press F1 for help</p><p class="status-bar-field">Slide 1</p><p class="status-bar-field">CPU Usage: 14%</p></div></div></div>
  122.  
  123. --- WINDOW ---
  124. <div class="title-bar" style="background: linear-gradient(90deg, #000, #fff);">
  125. <div class="title-bar-text">text.exe</div>
  126. <div class="title-bar-controls">
  127. <button aria-label="Help" style="cursor: help;"></button>
  128. <a href="#home" onclick="clicksound.playclip()"><button aria-label="Close"></button></a>
  129. </div>
  130. </div>
  131.  
  132. --- OPTION BUTTONS ---
  133. <div class="field-row">
  134. <input id="radio7" type="radio" name="second-example">
  135. <label for="radio7">Hell Yeah!</label>
  136. </div>
  137. <div class="field-row">
  138. <input disabled id="radio9" type="radio" name="second-example">
  139. <label for="radio9">F**k no!</label>
  140. </div>
  141.  
Advertisement
Add Comment
Please, Sign In to add comment