Skip to content
/ nyancat Public

have the infamous pop-tart cat march over any of your websites...

Notifications You must be signed in to change notification settings

jfix/nyancat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

have the infamous pop-tart cat march over any of your websites...

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published