Comments (5)
$('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.
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.
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.
[deleted comment]
from gravityscript.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gravityscript.