Created
December 11, 2008 20:41
-
-
Save chrislloyd/34867 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html><head> | |
<script src="http://ajax.googleapis.com/ajax/libs/prototype/1.6.0.3/prototype.js" type="text/javascript" charset="utf-8"></script> | |
<script src="http://ajax.googleapis.com/ajax/libs/scriptaculous/1.8.2/scriptaculous.js" type="text/javascript" charset="utf-8"></script> | |
<script src="http://raphaeljs.com/raphael.js" type="text/javascript" charset="utf-8"></script> | |
<script type="text/javascript" charset="utf-8"> | |
window.onload = function() { | |
var paper = Raphael('raphael',120,20); | |
var circle = paper.circle(10, 10, 10); | |
circle.attr("fill", "#00F"); | |
circle.attr("stroke", "#fff"); | |
} | |
</script> | |
</head><body> | |
<div id="raphael" style="z-index:0; position: absolute;"></div> | |
<div id="overlay" style="width:100px; background-color:#ccc; height:10px;z-index:5; position: absolute;"> | |
</div> | |
</body></html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment