These "tricks" are accomplished only with CSS, no JavaScript is used. Hover over the links and read the text that pops up below them. Notice the link colors and link text colors change. When you're done just close this window to see how the trick is accomplished.
If you have trouble figuring out what you can change and what you can't, just keep playing around with the code. Because this is a somewhat complicated piece of code, and because I know how it is when I put up complicated bits of code, I'll tell you in advance that if you mess it up, I don't have time to fix it for you - there are just too many of you out there!