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

📄 a11y.js

📁 OA系统实现以下功能: a、个人办公,我的办公桌 b、公文管理 c、工作流程 d、组织管理 e. 权限管理
💻 JS
字号:
/*	Copyright (c) 2004-2006, The Dojo Foundation	All Rights Reserved.	Licensed under the Academic Free License version 2.1 or above OR the	modified BSD license. For more information on Dojo licensing, see:		http://dojotoolkit.org/community/licensing.shtml*/dojo.provide("dojo.a11y");dojo.require("dojo.uri.*");dojo.require("dojo.html.common");dojo.a11y = {imgPath:dojo.uri.moduleUri("dojo.widget", "templates/images"), doAccessibleCheck:true, accessible:null, checkAccessible:function () {	if (this.accessible === null) {		this.accessible = false;		if (this.doAccessibleCheck == true) {			this.accessible = this.testAccessible();		}	}	return this.accessible;}, testAccessible:function () {	this.accessible = false;	if (dojo.render.html.ie || dojo.render.html.mozilla) {		var div = document.createElement("div");		div.style.backgroundImage = "url(\"" + this.imgPath + "/tab_close.gif\")";		dojo.body().appendChild(div);		var bkImg = null;		if (window.getComputedStyle) {			var cStyle = getComputedStyle(div, "");			bkImg = cStyle.getPropertyValue("background-image");		} else {			bkImg = div.currentStyle.backgroundImage;		}		var bUseImgElem = false;		if (bkImg != null && (bkImg == "none" || bkImg == "url(invalid-url:)")) {			this.accessible = true;		}		dojo.body().removeChild(div);	}	return this.accessible;}, setCheckAccessible:function (bTest) {	this.doAccessibleCheck = bTest;}, setAccessibleMode:function () {	if (this.accessible === null) {		if (this.checkAccessible()) {			dojo.render.html.prefixes.unshift("a11y");		}	}	return this.accessible;}};

⌨️ 快捷键说明

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