Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 870 Bytes

README.textile

File metadata and controls

23 lines (14 loc) · 870 Bytes

yet another nyancat

This is just a fun litle project that allows to have a nyancat run over a website when a certain key combination has been pressed. Right now it’s five times the Shift key, but this could be changed quite easily.

It makes use of jquery, the nyancat image, and the sound (both ogg and mp3).

It should be as easy as inclusion of the following line at the end of your web page:

<script type="text/javascript" src="http://wherever.org/nc.js"></script>

You will have to change one line in the nc.js script as I haven’t figured out how to use the script’s location instead of the including page’s location. See line 5:

var url = 'http://nc';

Obviously, you’ll need to set this to something that exists.

Oh, have a look at this jsfiddle for an example: http://jsfiddle.net/LH3BM/3/embedded/result/

That’s all folks!