A JavaScript implementation of the Mac System 6 era Eyeballs menubar extension
Switch branches/tags
Nothing to show
Clone or download
Latest commit 8accd6c Dec 7, 2010
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md No ™ Dec 7, 2010
eyeballs.js Smaller radius Dec 7, 2010

README.md

eyeballs.js — a JavaScript implementation of the Mac System 6 era Eyeballs menubar extension.

  1. Copy eyeballs.js to your server.
  2. Shove a <div class="eyeball></div> in your HTML where you want your eyeballs — you can have more than one!
  3. Pop <script src="eyeballs.js"></script> at the end of your HTML <body> to bring those balls to life. You can position and style div.eyeball with CSS, but I'd leave the dimensions padding and border alone.

You can also programmatically create new eyeballs after loading the script with the new Eyeball(container) constructor.