jQuery multiple selectors into dynamic attribute
- by Jason Fletcher
I am trying to attach an event to a separate onhover trigger. But I am having problems using multiple selectors since its dynamic.
Need help ::: Upon hovering on the yellow box named 'Rings', this should trigger the animated slide event for the green box above it.
http://home.jasonfletcher.info/all/alliteration/index.html
$('.boxgrid1').hover(function(){
$(".cover", this).stop().animate({top:'0px'},{queue:false,duration:300});
}, function() {
$(".cover", this).stop().animate({top:'247px'},{queue:false,duration:300});
});