hlzyWeb/Utility/Window.js

(开头部分) 4KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

var arrytext = null; //定义全局变量
var arrytempstr = null;
var dialog = null;

//层对象弹出
function DialogShow(hishop_titile, hishop_id,hishop_div,btnId) {
    dialog = art.dialog({
        id: hishop_id,
        title: hishop_titile,
        content: document.getElementById(hishop_div),
        init: function () {
            if (arrytext != null) {
                getArryText(arrytext);
            }
        },
        resize:true,
        fixed: true,
        close: function () {
            arrytext = null;
        },
        button: [{ name: '确 认', callback: function () {
            var istag = validatorForm();
            if (istag) {
                var temparrytext = arrytext;
                if (temparrytext != null) {
                    setShowText(temparrytext);
                    this.close();
                    getArryText(temparrytext);
                    $("#" + btnId).trigger("click");
                }
            } else {
                return false;
            }
        }, focus: true
        },
                { name: '取 消' }
        ]
    });
}


//IFrame弹出
function DialogFrame(url, title_tip, w_width, h_height, callBack) {
    var currentwindow = null;
    var tmpwidth = 900;
    var tmpheight = 500;
    var params = { title: title_tip };
    if (w_width != null) {
        tmpwidth = w_width;
    }
    if (h_height != null) {
        tmpheight = h_height;
    }
    if (tmpwidth != 0) {
        params.width = tmpwidth;
        if (tmpheight != 0) {
            params.height = tmpheight;
        }
    } else {
        if (tmpheight != 0) {
后面还有 126 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。