Resize div onclick of another div, transition effect?

Your demo was using mootools even though your question was tagged jquery. I cleaned up the demo a bit.

Your demo was using mootools even though your question was tagged jquery. I cleaned up the demo a bit. Demo here : jsfiddle.net/jomanlk/KhcvR/1/ Code here $(".

Menu"). Click(function() { $(". Sort").

Animate({"height" : "350"}, 500); }).

That is wonderful, thank you! – Beau August Apr 30 at 8:17 Default is already 500. No need to specify that unless you want a speed other then 500.

– Hussein Apr 30 at 8:26 @Hussein I thought it was 400. I actually put it in there so OP can change the value to their needs – JohnP Apr 30 at 8:32 @Hussein why the downvote? – JohnP Apr 30 at 8:33 @johnP I did not downvote you.

You're actually right. Looking at the jQuery source, 400 is the default. – Hussein Apr 30 at 8:34.

Click once to slide Down and again to slide back up $(". Menu"). Toggle(function() { $(".

Sort"). Animate({ height: 350 }); }, function() { $(". Sort").

Animate({ height: 25 }); }); Check working example at jsfiddle.net/KhcvR/2.

$(". Menu"). Click(function() { $(".

Sort"). Animate({ height : 350 }); }); There's quite a bit of other options with slide and also additional parameters you can set on animate to change the speed and fire a callback function when it's complete. Take a look at animate as it's super cool unless you're changing font contents (then it gets a little messy sometimes).

Thank you for your help! Much appreciated :) – Beau August Apr 30 at 8:17.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions