日期:2014-05-16 浏览次数:20394 次
<!doctype html>
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<title>标题</title>
<script type="text/javascript" src="/assets/javascripts/jquery-1.10.1.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$(document).on("click", ".dianwo", function () {
$.getScript("http://open.web.meitu.com/sources/xiuxiu.js");
$('.meituxx').load('meitu.html')
});
});
</script>
</head>
<body>
<div class="dianwo">点我</div>
<div class="meituxx"></div>
</body>
</html>
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<title>标题</title>
<script src="http://open.web.meitu.com/sources/xiuxiu.js" type="text/javascript"></script>
<script type="text/javascript">
window.onload=function(){
xiuxiu.embedSWF("altContent",2,"700","800");
/*第1个参数是加载编辑器div容器,第2个参数是编辑器类型,第3个参数是div容器宽,第4个参数是div容器高*/
xiuxiu.setUploadURL("http://imgkaka.meitu.com/picsave.php");//修改为上传接收图片程序地址
xiuxiu.onInit = function ()
{
xiuxiu.loadPhoto();//修改为要处理的图片url
}
xiuxiu.onUploadResponse = function (data)
{
//alert("上传响应" + data); 可以开启调试
}
}
</script>
</head>
<body>
<div id="altContent">
<h1>美图秀秀</h1>
</div>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="content-type" content="txt/html;charset=utf-8" />
<title>登录</title>
<script type="text/javascript" src="http//www.coding123.net/js/jquery.js"></script>
<script>
$(document).ready(function () {
$("div.dianwo").click(function () {
$.getScript("http:/