Why doesn’t this work?
$("#left").hover(
function () {
$("#left .more").animate({height:"120px"}, 500);
}
);
I can’t for the life of me figure it out.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
A wild shot in the dark because you haven’t shown any HTML.
Wait for
document.readybefore binding events because the DOM tree hasn’t loaded when the JS gets executed:Alternatively, you could bind your events using
liveordelegateso that they’re correctly executed even after additional DOM elements are inserted: