Mask
Mask

Reputation: 34197

How to create the effect like this page?

Click "Reply by Email" of that page,

http://losangeles.kijiji.com/rooms-roommates/el-monte/room-for-rent-el-monte-california-91732/?ad=785656

Upvotes: 0

Views: 237

Answers (5)

Shyju
Shyju

Reputation: 218722

Simply jQuery

With one line of code you can do this.

www.jquery.com

Upvotes: 0

Pier Luigi
Pier Luigi

Reputation: 7871

In jQuery the effect closer to that page is slideDown:

$("button").click(function () {
  $("#mydiv").slideDown("slow");
});

Upvotes: 2

Cem Kalyoncu
Cem Kalyoncu

Reputation: 14593

I believe MooTools is capable of doing this task. If not its not that hard to create that effect. Use setInterval to create an interval that repeats itself and resizes the box.

Upvotes: 0

Guillaume Flandre
Guillaume Flandre

Reputation: 8980

By using jQuery you can simply use the show() method:

$("button").click(function () {
  $("#mydiv").show("slow");
});

More info here: http://docs.jquery.com/Effects/show

Upvotes: 3

Skilldrick
Skilldrick

Reputation: 70819

With jQuery. See jQuery Effects/animate.

Upvotes: 1

Related Questions