2010-09-30, 08:32 PM
Hi,
I'm designing a new website but I've got stuck on some javascript/jQuery.
I have a list that currently uses this syntax:
I am using the :hover thing to set the background when the a is hovered. I am trying to find a way to have the background fade in/out but can't find it anywhere. I am guessing this would be jQuery rather than standard javascript.
Thanks in advance
I'm designing a new website but I've got stuck on some javascript/jQuery.
I have a list that currently uses this syntax:
<ul>
<li><a href="#">Link 1</a></li>
<li><a href="#">Link 2</a></li>
<li><a href="#">Link 3</a></li>
<li><a href="#">Link 4</a></li>
</ul>
I am using the :hover thing to set the background when the a is hovered. I am trying to find a way to have the background fade in/out but can't find it anywhere. I am guessing this would be jQuery rather than standard javascript.
Thanks in advance