Skip to content

Play tasteful music for visitors that resize the browser-window on the hunt for your media-queries.

License

Notifications You must be signed in to change notification settings

herschel666/NeverGonnaResize.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NeverGonnaResize.js

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.

Usage

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!

Meta

If you have questions, open an issue or contact me via twitter.

License

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

  1. You just DO WHAT THE FUCK YOU WANT TO.

About

Play tasteful music for visitors that resize the browser-window on the hunt for your media-queries.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published