Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- * PLEASE CREDIT SEOMPLAYER WHEN REMAKING *
- --- TOP BANNER ---
- <link rel="stylesheet" href="https://unpkg.com/98.css">
- <div class="window">
- <div class="title-bar" style="background: linear-gradient(90deg, #000, #fff);">
- <div class="title-bar-text">https://www.name.com</div>
- <div class="title-bar-controls">
- <button aria-label="Minimize"></button>
- <button aria-label="Maximize"></button>
- <button aria-label="Close"></button>
- </div>
- </div>
- </div>
- --- ALL FONTS ---
- @font-face {
- font-family: 'icons';
- src: url(https://dl.dropbox.com/s/2tohzt1ogc3bueo/IconBitTwo.ttf);
- }
- @font-face {
- font-family: Pixelated MS Sans Serif;
- src:url(ms_sans_serif.woff) format("woff");
- src:url(ms_sans_serif.woff2) format("woff2");
- }
- --- SCROLLBAR ---
- ::-webkit-scrollbar {
- width: 1em;
- }
- --- ADDRESS ---
- <div class="field-row-stacked">
- <label for="text18">Email</label>
- <input id="text18" type="text" />
- </div>
- <div class="field-row-stacked">
- <label for="text19">Credit Card Number</label>
- <input id="text18" type="text" />
- </div>
- --- YES/NO ---
- <div class="field-row">
- <input id="radio5" type="radio" name="first-example">
- <label for="radio5">Yes</label>
- </div>
- <div class="field-row">
- <input id="radio6" type="radio" name="first-example">
- <label for="radio6">No</label>
- </div>
- --- SOUND EFFECT ---
- <script>
- // Mouseover/ Click sound effect- by JavaScript Kit (www.javascriptkit.com)
- // Visit JavaScript Kit at http://www.javascriptkit.com/ for full source code
- //** Usage: Instantiate script by calling: var uniquevar=createsoundbite("soundfile1", "fallbackfile2", "fallebacksound3", etc)
- //** Call: uniquevar.playclip() to play sound
- 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:
- "mp3": "audio/mpeg",
- "mp4": "audio/mp4",
- "ogg": "audio/ogg",
- "wav": "audio/wav"
- }
- function createsoundbite(sound){
- var html5audio=document.createElement('audio')
- if (html5audio.canPlayType){ //check support for HTML5 audio
- for (var i=0; i<arguments.length; i++){
- var sourceel=document.createElement('source')
- sourceel.setAttribute('src', arguments[i])
- if (arguments[i].match(/\.(\w+)$/i))
- sourceel.setAttribute('type', html5_audiotypes[RegExp.$1])
- html5audio.appendChild(sourceel)
- }
- html5audio.load()
- html5audio.playclip=function(){
- html5audio.pause()
- html5audio.currentTime=0
- html5audio.play()
- }
- return html5audio
- }
- else{
- return {playclip:function(){throw new Error("Your browser doesn't support HTML5 audio unfortunately")}}
- }
- }
- //Initialize two sound clips with 1 fallback file each:
- var mouseoversound=createsoundbite("https://a.tumblr.com/tumblr_ojrn7aGBii1w2e2oyo1.mp3")
- var clicksound=createsoundbite("https://a.tumblr.com/tumblr_ojrmy55yUN1w2e2oyo1.mp3")
- </script>
- <script>
- document.getElementById('elementID').onclick = function() {
- document.getElementById('sound').play();
- }
- document.getElementById('elementID').onclick = function() {
- document.getElementById('sound').play();
- }
- document.getElementById('elementID').onclick = function() {
- document.getElementById('sound').play();
- }
- </script>
- <audio id="sound" src="https://a.tumblr.com/tumblr_ojrmy55yUN1w2e2oyo1.mp3" preload="auto"></audio>
- --- VOLUME ---
- <div class="field-row">
- <label for="range25">Vol:</label>
- <label for="range26">-</label>
- <input id="range26" type="range" min="1" max="11" value="5" />
- <label for="range27">+</label>
- </div>
- --- BOTTOM BANNER ---
- <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>
- --- WINDOW ---
- <div class="title-bar" style="background: linear-gradient(90deg, #000, #fff);">
- <div class="title-bar-text">text.exe</div>
- <div class="title-bar-controls">
- <button aria-label="Help" style="cursor: help;"></button>
- <a href="#home" onclick="clicksound.playclip()"><button aria-label="Close"></button></a>
- </div>
- </div>
- --- OPTION BUTTONS ---
- <div class="field-row">
- <input id="radio7" type="radio" name="second-example">
- <label for="radio7">Hell Yeah!</label>
- </div>
- <div class="field-row">
- <input disabled id="radio9" type="radio" name="second-example">
- <label for="radio9">F**k no!</label>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment