i have a .hover that when it is clicked i need to unbind and then when another element is click in need to bind again any suggestion on how to get it to work with the following code.
$('ul li.port a, ul li.serv a,ul li.cont a, ul li.test a').hover(
function() {
$('span', this)
.stop()
.animate({margin: '15px', left:'+=50',opacity: 1}, 200);
$(this).stop().animate({opacity: 1}, 200);
},
function() {
$('span', this)
.stop()
.animate({margin: '0px',opacity: 0}, 200);
$(this).stop().animate({opacity: 0},200);
}
);