AlloyClip的简单使用

<!DOCTYPE HTML>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title></title>
  <link media="all" rel="stylesheet" href="css/main.css" type="text/css" />
</head>
<body>
<div class="t" style="width: 500px; height: 300px;margin: 0 auto;"></div>
<div class="t" style="width: 500px; height: 300px;margin: 150px auto;">
</div>
	<script type="text/javascript" src="js/alloyimage.js"></script>
	<script type="text/javascript" src="js/alloyclip.min.js"></script>
  <script type="text/javascript">
    new $AC(".t", 100, 100, 0).ok(function(base64){
        alert(base64);
    });
  
  </script>
</body>
</html>

https://github.com/AlloyTeam/AlloyClip/blob/master/test/index.html
posted @ 2017-03-27 22:34  Martin_lee  阅读(204)  评论(0编辑  收藏  举报