Can someone help me fix this code, please?
What I want is to block the live ('click'
) function until the sliddingright
function is done.
('li.menu-item').live('click', function(event){
if( !$(this).is(':animated'))
{
sliddingright(page_id_target_right,previous_right_old,previous_right,next_right,pages_numbers);
}
});