pouët.net

Go to bottom

Garfield vs. scene

category: residue [glöplog]
BB Image
added on the 2009-12-21 14:55:49 by havoc havoc
BB Image
added on the 2009-12-22 07:01:45 by snoutmate snoutmate
hahaha great :D
BB Image
added on the 2009-12-22 18:08:26 by v3nom v3nom
BB Image
added on the 2009-12-27 22:09:51 by Noctis Noctis
BB Image
added on the 2009-12-30 21:12:31 by -SP- -SP-
haha awesome :D
probably posted in other thread already, but...

<html>
<head>
<title>The Eagle_Fire Garfield Randomizer</title>
<style type='text/css'>
td {
overflow: hidden;
text-align: left;
vertical-align: top;
max-height: 200px;
max-width: 180px;
}
img {
position: absolute;
}
</style>
</head>
<body>
<table border=1><tr>
<td width=200 height=180 id=td1> </td>
<td width=200 height=180 id=td2> </td>
<td width=200 height=180 id=td3> </td>
</tr>
<tr>
<td><input type=checkbox id=ck1>Lock</td>
<td><input type=checkbox id=ck2>Lock</td>
<td><input type=checkbox id=ck3>Lock</td>
</tr>
</table>
<script language="JavaScript1.2">
function fmt(n) {
n = Math.floor(n);
if (n < 10) return "0" + n;
return n;
}
function load() {
var t = new Array("td1", "td2", "td3");
var c = new Array("ck1", "ck2", "ck3");
for (i = 0; i < t.length; i++) {
if (document.getElementById(c[i]).checked) continue;
year = 2001 + Math.random() * 4;
month = Math.random() * 12 + 1;
day = Math.random() * 30 + 1;
panel = Math.random() * 3;
if ((new Date(fmt(month) + "/" + fmt(day) + "/" + fmt(year))).getDay() == 0)
day = (day + 1) % 31 + 1;
if (month == 2 && day > 28) day = 28;
imgurl = "http://images.ucomics.com/comics/ga/"
+ fmt(year) + "/ga" + fmt(year % 100) + fmt(month) + fmt(day) + ".gif";
tu = document.getElementById(t[i]);
tu.background = imgurl;
tu.style.background = "url(" + imgurl + ") " + -200 * Math.floor(panel) + "px 0px";
}
}
load();
</script>
<br>
<input type='button' value = "Go" onClick="load()">
</body>
</html>
added on the 2010-01-02 17:49:19 by bizun_ bizun_
BB Image
added on the 2010-01-06 03:32:09 by LiraNuna LiraNuna
And how exactly is that scene related? :)
added on the 2010-01-06 03:33:46 by Tomoya Tomoya
has a Negative-Shader !
+ chukkNorris - G_field !
Quote:

BB Image
also, there's motion blur and a demoish object. Extremely demoscene related.
added on the 2010-01-06 09:55:14 by imbusy imbusy
Quote:
also, there's motion blur and a demoish object. Extremely demoscene related.
Demoish object? Where?
added on the 2010-01-25 22:16:05 by Joghurt Joghurt
a black ribbon
added on the 2010-01-26 00:48:25 by snoutmate snoutmate
BB Image
added on the 2010-03-07 14:38:44 by Emod Emod
BB Image
added on the 2010-03-07 16:11:30 by styx^hcr styx^hcr
BB Image
added on the 2010-03-15 13:39:18 by Deus Deus
funny.
added on the 2010-03-16 08:09:38 by 24 24
Quote:
BB Image

It's not as if invitations haven't been coded in under 5 hours before.. =)
added on the 2010-03-16 08:52:48 by sol_hsa sol_hsa
Quote:
BB Image


ROTFL!
added on the 2010-03-17 16:29:26 by elkmoose elkmoose

login

Go to top