Using jQuery and CSS to manipulate text, text formatting, and the mouse pointer.
If you are interested in the code, View Source (Ctrl+u).
These three lines use jQuery to change the .css for the color and pointer effects.
Click me and I turn red.
Click me and I turn blue.
Click me and I disappear.
These three lines use the jQuery .toggleClass and .hasClass for the color and text cycling as well as pointer effects.
Click me and my background turns red and my text turns white.
Click me and my background turns blue and my text turns white.
Click me and my background turns green and my text turns white.
The code on this page is partly original and partly derivative. For all practical puposes it is in the public domain.