<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UpLoadImg.aspx.cs" Inherits="SchoolForum.UpLoadImg" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title></title>
/*<script src="http://open.web.meitu.com/sources/xiuxiu.js" type="text/javascript"></script>
<script src="js/jquery-1.10.2.min.js"></script>*/
<script type="text/javascript">
//获取url参数
function getQueryString(name) {
var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
var r = window.location.search.substr(1).match(reg);
if (r != null) return unescape(r[2]); return null;
}
window.onload = function () {
/*第1个参数是加载编辑器div容器,第2个参数是编辑器类型,第3个参数是div容器宽,第4个参数是div容器高*/
xiuxiu.embedSWF("altContent", 2, "1000", "600");
//修改为您自己的图片上传接口
xiuxiu.setUploadURL("http://" + window.location.host + "/tools/upload.ashx");
xiuxiu.setUploadType(2);
xiuxiu.setUploadDataFieldName("upload_file");
xiuxiu.onInit = function () {
//xiuxiu.loadPhoto("http://open.web.meitu.com/sources/images/1.jpg"); //修改为要处理的图片url
}
xiuxiu.onUploadResponse = function (data) {
var t = getQueryString('t');
window.opener.setimg(t, data);
//window.returnValue = data;
window.close();
}
}
</script>
<style type="text/css">
*{
font-family: "Comic Sans MS","微软雅黑",sans-serif;
}
html, body
{
height: 100%;
overflow: hidden;
}
body
{
margin: 0;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<div id="altContent" >
</div>
</form>
</body>
</html>
是不是被删除了,如何找到呢,请各位的大神帮助找到,给个解决方案,万分感谢。