Web/js/weebox.js

(开头部分) 33KB

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

/**
* weebox.js
* @category   javascript
* @package    jquery
* @author     Jack <xiejinci@gmail.com>
* @version    
*/
(function ($) {
    var cachedata = {};
    var arrweebox = new Array();
    var weebox = function (content, options) {
        var self = this;
        this.dh = null;
        this.mh = null;
        this.dc = null;
        this.dt = null;
        this.db = null;
        this.selector = null;
        this.ajaxurl = null;
        this.options = null;
        this._dragging = false;
        this._content = content || '';
        this._options = options || {};
        this._defaults = {
            boxid: null,
            boxclass: null,
            cache: false,
            type: 'dialog',
            title: '',
            width: 0,
            height: 0,
            timeout: 0,
            draggable: true,
            modal: true,
            focus: null,
            blur: null,
            position: 'center',
            overlay: 30,
            showTitle: true,
            showButton: true,
            showCancel: true,
            showOk: true,
            okBtnName: '确定',
            cancelBtnName: '取消',
            contentType: 'text',
            contentChange: false,
            clickClose: false,
            zIndex: 999,
            animate: '',
            showAnimate: '',
            hideAnimate: '',
            onclose: null,
            onopen: null,
            oncancel: null,
            onok: null,
            suggest: { url: '', tele: '', vele: '', fn: null },
            select: { url: '', type: 'radio', tele: '', vele: '', width: 120, search: false, fn: null }
        };
        //初始化选项
        this.initOptions = function () {
后面还有 738 行代码,购买后查看完整代码

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

AI 解读

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

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