<html>
<head>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type" />
<link rel="stylesheet" href="//ku.shouce.ren/libs/jcrop/css/jquery.Jcrop.css">
<script type="text/javascript" src="//apps.bdimg.com/libs/jquery/1.11.3/jquery.min.js">
</script>
<script src="//ku.shouce.ren/libs/jcrop/js/jquery.Jcrop.min.js">
</script>
</head>
<body>
<div class="main">
<div class="inwrap">
<h1>jQuery Jcrop 图像裁剪插件
</h1>
<h2>Hello World 基础示例
</h2>
<div class="detail">
<p>这个示例演示了 Jcrop 的默认效果
</p>
<p>由于没有其他的事件,它只是简单的在图像上画裁剪框,并不能处理什么。
</p>
</div>
<div class="example">
<img src="//ku.shouce.ren/libs/jcrop/img/sago.jpg" id="target" alt="[Jcrop Example]">
</div>
</div>
</div>
<script>
jQuery(function($){
// How easy is this??
$('#target').Jcrop();
}
);
</script>
</body>
</html>