Mercurial > laserkard
annotate dylan/goodindex.html @ 106:5b0753c6f34d laserkard tip
updated to newest compojure and a simpler syntax
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Mon, 27 Sep 2010 20:22:58 -0400 |
parents | 599d0315537d |
children |
rev | line source |
---|---|
rlm@0 | 1 <html> |
rlm@0 | 2 |
rlm@0 | 3 <head> |
rlm@0 | 4 |
rlm@0 | 5 <link href="laserkard.css" rel="stylesheet" type="text/css" /> |
rlm@0 | 6 <script type="text/javascript"> |
rlm@0 | 7 var n = 0; |
rlm@0 | 8 var a = new Array("#f00","#0f0","#00f") |
rlm@0 | 9 function pory() { |
rlm@0 | 10 var u = a[n%a.length] |
rlm@0 | 11 var v = a[(n+1)%a.length] |
rlm@0 | 12 document.body.style.backgroundColor = u; |
rlm@0 | 13 document.body.style.color = v; |
rlm@0 | 14 n++; |
rlm@0 | 15 setTimeout("pory()",50); |
rlm@0 | 16 } |
rlm@0 | 17 </script> |
rlm@0 | 18 <title> laserkard personal branding service </title> |
rlm@0 | 19 |
rlm@0 | 20 </head> |
rlm@0 | 21 |
rlm@0 | 22 |
rlm@0 | 23 <body onLoad="pory()"> |
rlm@0 | 24 |
rlm@0 | 25 |
rlm@0 | 26 <h1 class="laser">LaserKard</h1> |
rlm@0 | 27 |
rlm@0 | 28 <h2 class="buy">Buy</h2> |
rlm@0 | 29 <h2 class="contact">Contact</h2> |
rlm@0 | 30 <h2 class="about">About Us</h2> |
rlm@0 | 31 |
rlm@0 | 32 |
rlm@0 | 33 |
rlm@0 | 34 |
rlm@0 | 35 </body> |
rlm@0 | 36 |
rlm@0 | 37 |
rlm@0 | 38 </html> |