|
|
#1 |
|
Beta Member
Join Date: Dec 2010
Posts: 1
|
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3c.org/TR/xhtmll-transitional.dtd"> <html> <head> <title> Earth Quake Trick</title> <script language="javaScript" type="text/javascript"> <!-- function Quake(time) { if (self.moveBy) { for (var side = 25; side > 0; side=side-1) { for (var tmp = time; tmp > 0; tmp=tmp-1) { self.moveBy(0,side); self.moveBy(side,0); self.moveBy(0,-side); self.moveBy(-side,0); } } } } //--> </script> </head> <body> <form><input type="button" value="Simulate Earthquake trick" onclick="Quake(20);"/></form> </body> </html> (btw it doesn't matter how the "{" are spaced) Just copy and paste to notepad save as whateveryouwant.html (doesn't matter where you save it as long as you can find it) For all you youtubers ^.^ Thumbs up on the comment that sent you there YOUR WELCOME!! |
|
|
|
|
|
#2 |
|
Site Team
Join Date: Oct 2004
Posts: 1,294
|
LOL, this is quite funny, Maybe I should intergrate this code in to the CF forum
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|