| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| ReadMe.txt | 2012-02-25 | 638 Bytes | |
| gravity.js | 2012-02-25 | 1.3 kB | |
| Totals: 2 Items | 2.0 kB | 0 | |
HTML Gravity is a javascript based project, which provides functionality for Free Fallling HTML elements. The gravitational force on each element is specific to Height & Width of the elements. Easy to implement, HTML gravity can be incorporated in two simple steps. 1. Include the javascript source in the Head tag. <script type="text/javascript" src="gravity.js" language="javascript"> 2. Use "creategravity()" function to force gravitational parameters. creategravity(id,init,inv) "id" : Html ID of the element. "init": Initital distance from the ceiling. "inv" : Initial acceleration towards the floor on the element.