Acceleration/Deceleration

The sliding layers code provides the capability to control the rate of acceleration or deceleration in the motion of layers. Test this with the links below. (Hover first to see their acceleration factor.) You can control the duration of the slide from the link also.

The code includes methods for sliding to specified locations and sliding by specified amounts. Code comments contain more information.




Over 2000+ free Javascript
at JavaScriptBank.com Website

Sampled by JavaScriptBank.com