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

📄 debug.js

📁 java 写的一个新闻发布系统
💻 JS
字号:
/*   DynAPI Distribution   Debug Extensions   The DynAPI Distribution is distributed under the terms of the GNU LGPL license.   Requirements:	dynapi.api [dynlayer, dyndocument, browser]*/ DynLayer.prototype.debug = function() {	var str ="";	str += "DynLayer: "+this.id+"\n";	str += "-----------------------\n";	str += "     Size: "+this.getWidth()+"x"+this.getHeight()+"\n";	str += " Position: "+this.getX()+","+this.getY()+"\n";	str += "  BgImage: "+this.getBgImage()+"\n";	str += "  BgColor: "+this.getBgColor()+"\n";	str += "  Content: "+this.getHTML()+"\n";	str += "   zIndex: "+this.getZIndex()+"\n";	str += "  Visible: "+this.getVisible()+"\n";	str += "----- Number of Children: "+this.children.length+"\n";	return str;}DynObject.prototype.tree = function(space) {	var ret ='';	space = space||".";	ret += space +" "+this.getDef()+"\n"	for(i in this.children)		ret += this.children[i].tree(space+" . ."); // JM: With simple spaces NS6 does not indent (pfff !!!)	return ret;}DynAPIObject.prototype.getDef=function(){return "DynAPI"}DynDocument.prototype.getDef=function(){return "DynDocument ( "+this.id+" )"}DynLayer.prototype.getDef=function(){return this.id}

⌨️ 快捷键说明

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