I have a list:
<ul class="action">
<li>Available actions</li>
<li><a href="one.htm">One</a></li>
<li><a href="two.htm">Two</a></li>
</ul>
And I would like to hide the available actions until the user hovers over them:
jQuery(function($) {
$('ul.action a').hide();
$('ul.action').hover(function() {
$(this).filter('a').show('slow');
},function() {
$(this).filter('a').hide('slow');
});
});
I think I don't understand what $(this) is yet.