tags:

views:

61

answers:

1

I'm looking for a JQuery plugin to animate the appearance and disappearance of an overlay div. Something like what Rackspace has here:

http://www.rackspacecloud.com/

After staring at the page for 30 seconds or so, a div comes sliding down from the top asking you whether you want to chat with a rep. If you ignore the div for a period of time it slides back up.

I know I could hand code all this using timers and animate() and such, but hoping someone has done it for us already.

Any ideas?

A: 

Ok Will is correct. animate() is more powerful than I had realized. I was able to get it doing most of what I want with 4 lines of code:

setTimeout(function() {
  $j("#survey").show();
  $j("#survey").animate({top: "300px"}, 2000);
}, 10000);
Gary