Wednesday, 1 August 2012

Changing the Mouse to a Link Pointer

While working on a collapsable vi cheat sheet over the weekend, I needed to figure out how to make the pointer look like a link when mousing over a header. Turns out it is pretty easy. Just create a style like this:



.Toggle { cursor: pointer; }



Add that to the header and it acts like a link even when it is not.

No comments:

Post a Comment