amiawizard amiawizard - 2 years ago 76
Javascript Question

Easiest way to slide to position (position absolute)

What is the easiest way to slide an element up and down which has an absolute position? I was thinking of using a transform transition with translate unless there's an easier way to add sliding transitions to position changes.

Answer Source

CSS transition would be the easiest way I think (no files to add)

Or you can use jquery with .animate like this :

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download