Hi,
Im trying to replicate a simple hover effect in YUI just like you would with jQuery however its a little confusing. As in jquery it would go:
$('.hoverclass').hover(function() {
$(this).addClass('up');
}, function() {
$(this).removeClass('up');
});
Any pointers how to do it in YUI?
Thanks.