Fun Browser Quake

sdog1234

Beta member
Messages
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!!
 
LOL, this is quite funny, Maybe I should intergrate this code in to the CF forum :)
 
Back
Top Bottom