Consider possibly using hover:
$("p").hover(function(){
$(this).addClass("hover");
},function(){
$(this).removeClass("hover");
});
This could be implemented in a number of ways. I find the foreground
image-sprite to be the easiest to maintain and not prone to flicker. It
also allows you to use HTML for the text (if desired) which helps with
search engine optimization. I could help whip up a sample if you would
like.
I think the tutorial itself, however, was clear and easy to follow. Well
written! :)
Glen
On 9/27/07, AJ <[EMAIL PROTECTED]> wrote:
>
>
> Guys,
>
> I've decided to try my hand at some basic tutorials. The first is for
> basic reusable image rollovers for navbars, etc.
>
> You can find it here:
>
> http://www.atlantajones.com/2007/09/27/easy-reusable-image-rollovers-with-jquery/
>
> Any comments, suggestions or tips for making it better would be much
> appreciated!
>
> AJ
>
>