Making an OS dock-like object with jQuery

Sep 05, 2009 17:27

I spent a solid two hours figuring out how to do this, so I decided to share with the world. Those of you with small monitors (or other strange habits) might have operating system dock (the thing at the bottom or top of the screen that you use to start programs, check the clock, and see what's running away with your CPU and network) set to "autohide," so it comes and goes as you mouse over it.

If you've ever wanted to simulate that in your HTML, I've figured out how to do it with jQuery. I've even provided a bare-bones skeleton of a dock, along with a working example. Feel free to embellish it at your leisure.

javascript, geeky

Previous post Next post
Up