oxjstmp/demos/png/index.html

22 lines
760 B
HTML
Raw Normal View History

2010-01-07 20:21:07 +00:00
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<style>
</style>
<script type="text/javascript" src="../../build/js/jquery-1.3.2.js"></script>
<script type="text/javascript" src="../../build/js/ox.js"></script>
<script type="text/javascript" src="ox.png.js"></script>
<script>
$(function() {
var png = new Ox.PNG("http://khm0.google.com/kh/v=46&x=0&y=0&z=0");
png.load(function() {
2010-02-06 13:59:16 +00:00
Ox.print(png.getChunks());
Ox.print(png.getSize());
2010-01-07 20:21:07 +00:00
png.appendTo("body")
})
});
</script>
</head>
<body></body>
</html>