web/rsln/res/metadataplayer/test/mouse_interaction_overlay.html
changeset 50 a1636b31eb98
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/web/rsln/res/metadataplayer/test/mouse_interaction_overlay.html	Fri Feb 18 19:37:15 2011 +0100
@@ -0,0 +1,39 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>Example raphael</title>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+
+</head>
+<body>
+test 
+
+<script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js'></script>
+<script type="text/javascript" src="raphael-min.js"></script>
+
+<script type="text/javascript"> 
+
+
+// Creates canvas 320 × 200 at 10, 50
+var paper = Raphael(10, 50, 500, 200);
+	
+
+	p  = paper.rect(50, 50 , 50, 50 ).attr({stroke:"#fff","stroke-width":0.3,  fill: "hsb(0.50, 1, 1)",});	
+	p.mouseover(function () {
+			this.animate({height:Math.floor(Math.random()*50) }, 400, "bounce");
+	}).mouseout(function () {
+			this.animate({width:Math.floor(Math.random()*50) }, 400, "bounce");
+	})
+	
+	q  = paper.rect(50, 50 , 50, 50 ).attr({stroke:"#fff","stroke-width":0.3,  fill: "hsb(0.90, 1, 1)",});	
+	q.mouseover(function () {
+			this.animate({height:Math.floor(Math.random()*50) }, 400, "bounce");
+	}).mouseout(function () {
+			this.animate({width:Math.floor(Math.random()*50) }, 400, "bounce");
+	})
+
+</script>
+test
+
+</body>
+</html>