第一章,鱼和熊掌的发布页面的js文件找不到 src="http://open.web.meitu.com/sources/xiuxiu.js"
发表在ASP.NET图书答疑 2022-05-10 悬赏:1 学分 《ASP.NET项目开发实战入门》第1章 鱼和熊掌网站—“让您的选择更轻松” 53页-54页
是否精华
版块置顶:

<%@ 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>

是不是被删除了,如何找到呢,请各位的大神帮助找到,给个解决方案,万分感谢。

分享到:
精彩评论 1
HarryF8
学分:276 LV4
2023-02-02
沙发

去找一个下载到本地代替这个URL

首页上一页 1 下一页尾页 1 条记录 1/1页
手机同步功能介绍
友情提示:以下图书配套资源能够实现手机同步功能
明日微信公众号
明日之星 明日之星编程特训营
客服热线(每日9:00-17:00)
400 675 1066
mingrisoft@mingrisoft.com
吉林省明日科技有限公司Copyright ©2007-2022,mingrisoft.com, All Rights Reserved长春市北湖科技开发区盛北大街3333号长春北湖科技园项目一期A10号楼四、五层
吉ICP备10002740号-2吉公网安备22010202000132经营性网站备案信息 营业执照