I am new to Prototype. How can I write the following jQuery code in Prototype?
Thanks in advance..
$('#lessonid').fadeIn(function(){
$('.exercise').css('margin-bottom', '0px');
});
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.
As far as I’m aware the PrototypeJS library doesn’t have any animation/effects methods built in. You can use Scriptaculous, which is an add-on to Prototype. That will allow you to do something like this, using the
fademethod: