I have the following code:
$("li.item").live('click',function() {
$('#menu').animate({
}, 500);
});
Now, I would like to move the character to the li.item you clicked on, but I cannot use $(this)
as that would get the #menu
item.
I also cannot use li.item
as there are 60 of them on the page. Is it possible to pull the specific li.item
I clicked on into the animate
function?