Go Back   Computer Forums > General Computing > Programming
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 12-09-2010, 04:38 PM   #1
Beta Member
 
Join Date: Dec 2010
Posts: 1
Default Fun Browser Quake

<?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!!
__________________

sdog1234 is offline   Reply With Quote
Old 12-10-2010, 08:29 AM   #2
JCB
Daemon Poster
 
JCB's Avatar
 
Join Date: Oct 2004
Posts: 1,302
Default Re: Fun Browser Quake

LOL, this is quite funny, Maybe I should intergrate this code in to the CF forum
JCB is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 02:05 PM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0