jquery fade background

Here is a simple fading colour background: http://www.beaconhilldesign.co.nz/jquery/bg_colours-change/index.html
What I want to do is stop the text changing colour so that on mouse over only the background changes (and not the text).
Regards,
N
LVL 5
Neil_BradleyWeb UX/UI DeveloperAsked:
Who is Participating?
 
ventaurCommented:
Change the references for "color" to "backgroundColor" in your calls to .css and .animate.
0
 
wasim117Commented:
In main.js change the hover color #FFF to original color of the text #666.

this will solve the issue.

below code is changing the color of the link.

$(this)	.stop()
				.css({"color": $(this).attr("rel")})
				.animate({"color": hoverColour}, 350);

Open in new window

0
 
Neil_BradleyWeb UX/UI DeveloperAuthor Commented:
I need to completely disable the function that changes the text colour. The finished design will use more than one colour text in my box so your solution would not work.
0
 
Neil_BradleyWeb UX/UI DeveloperAuthor Commented:
Thats got it.. Thanks for that.
N
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.