For sure check out the "color.js" plugin (Google "jQuery color.js" and
you'll find it)... it can animate the backgroundColor property, as for
color, instead of "none", you should be able to use "transparent"....
or better yet, just fade to the current page/DOM object background
color


On Jan 12, 5:25 pm, "1.am.W1z4rd" <1.am.w1z...@gmail.com> wrote:
> I need to add a mouseover effect to the navigation for a site that I'm
> building.  I need the backgroundColor to fade from none, to black, and
> then on mouseout, I need it to fade back to none.  This would be easy
> if I were using two colors, but since I'm using 'none' as one of the
> color's, I don't know what to do.  I have tried:
>
> [code]
> $('.nav_link').hover(function() {
>     $(this).animate({backgroundColor: '#000000'});}, function() {
>
>     $(this).animate({backgroundColor: 'none'});});
>
> [/code]
>
> but that doesn't seem to work.
>
> Any help / plugin links would be greatly appreciated.
>
> Thanks, bye.

Reply via email to