This is a small AudioContext
-experiment, playing tasteful music while a visitor is resizing the browser-window, hunting down your media-queries. Unfortunately it only works in Chrome, though the AudioContext
has actually a wider support.
… and resize the hell out of your browser-window to see what I'm talking about.
Put the script-file into your website and initialize NeverGonnaResize.js:
<script src="./path/to/never-gonna-resize.js"></script>
<script>
neverGonnaResize('../path/to/tasteful-music.mp3');
</script>
That's it!
If you have questions, open an issue or contact me via twitter.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE 2, December 2004
Copyright (C) 2014 Emanuel Kluge
Everyone is permitted to copy and distribute verbatim or modified of this license document, and changing it is allowed as long the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
- You just DO WHAT THE FUCK YOU WANT TO.