Website/Admin/Js/admin.js

(开头部分) 5KB

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

/// <reference path="~/Scripts/jquery-vsdoc-cn.js" />
var objID = "a";
var IsShow = true;
function ShowNav() {
    if (!IsShow) {
        top.fstMain.cols = "269,*";
        IsShow = true;
        ShowNavSpan.innerHTML = "隐藏导航栏";
    }
    else {
        top.fstMain.cols = "0,*";
        IsShow = false;
        ShowNavSpan.innerHTML = "显示导航栏";
    }
}

function InitNews(obj) {
    var oEditor = FCKeditorAPI.GetInstance(objID);
    oEditor.InsertHtml('<img src="' +obj + '" />');
    //$("#" + objID).val(obj);
    $.layerclose("sentence");
}

function InitLogo(obj) {
    //var oEditor = FCKeditorAPI.GetInstance(objID);
    //oEditor.InsertHtml('<img src="' + obj + '" />');
    $("#" + objID).val(obj);
    $.layerclose("sentence");
}

function InitPicture(obj) {
    $("#" + objID).val(obj.title.replace("双击选择该图片,该图片地址为:", ""));
    ClosePictureDiglog();
}

function initFile(obj) {
    $("#" + objID).val(obj);
    hidePopWin();
}
function OpenPictureDialog1(_editName, _width, _height) {
    ///<summary>
    /// 图片选择对话框
    ///</summary>
    objID = _editName;
    showPopWin('Plus/Picture/main.aspx', _width, _height, null);
}

function ShowPictureDialog(filepath, _width, _height) {
    showPopWin(filepath, _width, _height, null);
}

function OpenUpload(_editName, _width, _height) {
    ///<summary>
    /// 图片选择对话框
    ///</summary>
    objID = _editName;
    $.layerSetup({
        id: "sentence",
        title: '图片选择',
        content: '<iframe src="Picture/Upload.aspx?uploadfiles=productm" width="100%" height="' + _height + 'px" frameborder="no" scrolling="no"></iframe>',
后面还有 89 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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