Something like this might be better for you:
http://gist.github.com/78121

It uses CSS to decide what is shows when but it uses javascript to actually switch states.

If you want to expand this, you could change the 'a' selector to 'body' and then have elements all across the page hide/show.

—Thomas Aylott / subtleGradient

On Mar 11, 2009, at 5:33 PM, afowler wrote:

On Mar 11, 3:38 pm, Sanford Whiteman <[email protected]>
wrote:

I am aware of the CSS :hover pseudo-class, however I am asking about a
JS solution for a few reasons:

Reply via email to