summaryrefslogtreecommitdiff
path: root/static/rainbow.xhtml
diff options
context:
space:
mode:
authorsostler <sbostler@gmail.com>2010-04-29 03:16:02 -0400
committersostler <sbostler@gmail.com>2010-04-29 03:16:02 -0400
commitafef6f9e56586a8c5bc01f1dcf6bd3be65abd541 (patch)
tree2a9548bb153989100bf41334851f2c04ab571697 /static/rainbow.xhtml
parent210d0294b59759c7cccd3d1f7408627cecc7f86a (diff)
parent584915623ffd93ea86ae6957018b2e8c4f9af9dd (diff)
Merge branch 'master' of ssh://dump.fm/pichat/repo
Diffstat (limited to 'static/rainbow.xhtml')
-rw-r--r--static/rainbow.xhtml29
1 files changed, 29 insertions, 0 deletions
diff --git a/static/rainbow.xhtml b/static/rainbow.xhtml
new file mode 100644
index 0000000..0ce2c6b
--- /dev/null
+++ b/static/rainbow.xhtml
@@ -0,0 +1,29 @@
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:svg="http://www.w3.org/2000/svg">
+<head>
+ <style>
+ iframe { width:100%; height:100%; border:none; position:absolute; }
+ body { padding:0; margin:0; overflow: hidden; }
+ iframe.target { filter:url(#sat); }
+ </style>
+</head>
+<body>
+<iframe class="target" src="http://dump.fm/chat" border="0" padding="0" spacing="0" width="100%" height="100%" />
+ <svg:svg height="0">
+ <svg:filter id="sat">
+ <svg:feColorMatrix type="hueRotate" id="rotater" values="0"/>
+ </svg:filter>
+ </svg:svg>
+ <script>
+ var rotater = document.getElementById("rotater")
+ function go(){
+ var degree = parseInt(rotater.getAttribute("values"))
+ degree = (degree + 10 ) % 360
+ rotater.setAttribute("values", degree)
+ //.getAttribute("values")
+ setTimeout(go, 100)
+ }
+ go()
+ </script>
+</body>
+</html>