I have an animate on my site that uses a stack of notecards with links on them. When you select the notecard it slides out. I want the user to select the link on the notecard. However, since the links are in the notecard jquery sees the user select the notecard and slides back.
Basically, how can I tell jquery to ignore the animation when the link is selected
Code:
$(‘#sports’).toggle(function()
{
$(this).stop().animate({‘marginLeft’:’450px’});
$(‘#news’).stop().animate({‘marginLeft’:’0px’});
$(‘#announcements’).stop().animate({‘marginLeft’:’0px’});
},function()
{
$(this).stop().animate({‘marginLeft’:’0px’});
});