How to make page like google gravity



Google Gravity Demo
















Yes, “Google Gravity”. It is very popular gravity script for google homepage.

1. Go to Google.com
2. Write down “Google Gravity” and press I’m feeling Lucky
3. Wait for a second Done!

You can see the fantastic gravity script for google.



Make your own Gravity page

Here I’ve used gravity script and I’ll teach you how to make your own script.


1. Download demo scripts
2. Include script all the .js files in head tag of the page except mygravity/api and mygravity/gravityscript.js.
3.  Now you need to add mygravity/api and mygravity/gravityscript.js at the end of the page before </body>
4. Add your HTML elements and just add class=“box2d"
5. That’s it. You’ve done it.

Download Full Source Code   Click Here

 

Share this article :
 
Support : Copyright © 2011. world 4 free - All Rights Reserved