Coder Social home page Coder Social logo

Comments (5)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
$('body').click(function() { var script = document.createElement("script"); 
script.src="http://gravityscript.googlecode.com/svn/trunk/gravityscript.js"; 
document.body.appendChild(script);void(0); });

Original comment by [email protected] on 28 Mar 2012 at 11:49

from gravityscript.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
Hi,

This solution seems to only load the .js file on click. So once clicked you 
still have to move your mouse to active the gravity effect.

Is there a way to fire the effect immediately after click?

Original comment by [email protected] on 11 May 2012 at 4:40

from gravityscript.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
Maybe this helps

<script type="text/javascript"> 
$(function(){
$('img').click(function() { var script = document.createElement("script"); 
script.src="http://tinyurl.com/grav-js"; 
document.body.appendChild(script);void(0); });
});
</script>

Original comment by [email protected] on 25 Sep 2013 at 2:38

from gravityscript.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
[deleted comment]

from gravityscript.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
The updated code has both Mouse click start and automatic start

Check more tricks here 
http://www.zackable.com/google/best-google-zero-gravity-tricks-pranks-2014/ 

Original comment by [email protected] on 28 Dec 2013 at 8:39

from gravityscript.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.