⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pic.js

📁 仿3721模块拖拽移动层移动的javascript
💻 JS
字号:
var Pic = Class.create();

Pic.prototype = {
	
	initialize : function () {
		var wc = this;
		wc.parent = null;
		wc.ajax = new CDrag.Ajax;
	},
	
	edit : function (o) {
		alert(o.title.innerHTML);
	},
	
	load : function (json) {
		var wc = this;
		wc.parent.content.innerHTML = '<img width="180" height="100" alt="" src="' + json + '" \/>';
	},
	
	open : function () {
		var wc = this, ajax = wc.ajax;
		wc.parent.content.innerHTML = "loading";
		ajax.send("Pic.asp?", wc.load.bind(wc));
	}
	
};

Pic.loaded = true;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -