亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? lite-window.js

?? zapatec suite 最新版 20070204,非常棒的ajax widgets 工具包
?? JS
?? 第 1 頁 / 共 3 頁
字號:
// $Id: lite-window.js 6650 2007-03-19 10:14:14Z slip $/** * The Zapatec DHTML Menu * * Copyright (c) 2004-2006 by Zapatec, Inc. * http://www.zapatec.com * 1700 MLK Way, Berkeley, California, * 94709, U.S.A. * All rights reserved. * * Windows Widget * $$ * *//** * The Window object constructor.  Call it, for example, like this: * * \code *   var win = new Zapatec.Window({ *   	showResize : false *   }); * \endcode * * The above creates a new Window object.  The Window isn't displayed * instantly; using the "win" variable, the programmer can now set certain * configuration variables, hook his own event handlers and then display the * window using Zapatec.Window.create() and Zapatec.Window.show(). * * @param config [object] - all parameters are passed as the properties of this object. *  * Constructor recognizes the following properties of the config object * \code *    prop. name     | description *  ------------------------------------------------------------------------------------------------- *   showCloseButton | whether to show close button (default true). *   raiseOnlyOnTitle| whether to raize when clicking on title or on the whole body of the created window (default true). *   canDrag         | whether you can drag the window (default true). *   modal           | if true modal window will be created (default false). *   onClose         | custom handler, will be called when window is closed. *   onShow          | custom handler, will be called when show method is called. *   onHide          | custom handler, will be called when hide method is called. *   onRaize         | custom handler, will be called when window is raized. *   onContentLoad   | custom handler, will be called when content is loaded. *    * \endcode */Zapatec.Window = function (config) {	this.winDiv = null;	this.titleArea = null;	this.titleText = null;	this.closeButton = null;	this.contentArea = null;		this.winNumber = 0;	this.config = {};	this.config.showTitle = true;	this.config.titleWidth = 0;	this.config.contentWidth = 0;	this.config.heightDiff = 0;	this.config.left = 0;	this.config.top = 0;	this.config.width = 0;	this.config.height = 0;	this.config.minWidth = 180;	this.config.minHeight = 70;	this.setConfig(config);};/** * \internal This function is called from the constructor, only once, to  * store only needed properties of the config object passed to the constructor. */Zapatec.Window.prototype.setConfig = function (config) {	this.config.showCloseButton = (typeof config.showCloseButton != "undefined") ? config.showCloseButton : true;	this.config.raiseOnlyOnTitle = (typeof config.raiseOnlyOnTitle != "undefined") ? config.raiseOnlyOnTitle : true;	this.config.canDrag = (typeof config.canDrag != "undefined") ? config.canDrag : true;	this.config.modal = (typeof config.modal != "undefined") ? config.modal : false;	this.config.onClose = (typeof config.onClose != "undefined") ? config.onClose : null;	this.config.onShow = (typeof config.onShow != "undefined") ? config.onShow : null;	this.config.onHide = (typeof config.onHide != "undefined") ? config.onHide : null;	this.config.onRaise = (typeof config.onRaise != "undefined") ? config.onRaise : null;	this.onContentLoad = (typeof config.onLoad != "undefined") ? config.onLoad : function () {};};/** * This is a setup function for Window object. * * It gathers some mostly common routines when seting up the Window object on your page. * For example it creates the simple window and shows it, or creates the popup window. * Mostly in all cases (except popup window) it will be initialy shown. Possible enhancement * is to add a property to control the initial state of the window (including minimized, maximized, etc) * * @param config [object] - all parameters are passed as the properties of this object. Many of them are  * the same as for the constructor. *  * Function recognizes the following properties of the config object (duplicated properties are listed in  * the constructor description so are not included here): * \code *    prop. name   | description *  ------------------------------------------------------------------------------------------------- *   popup         | if it is set than window will be a popup window, triggered by the element you passed in this variable. *   triggerEvent  | if popup is set than this defines which event of the trigger element will force the window to popup.  *                 | Possible values: click, mousemove, mouseover, or any DOM event name. *   align         | align of the popup window relational to the trigger object. For information on values see the Zapatec.Window.prototype.showAtElement function description *   width         | initial width of the window in pixels. *   height        | initial height of the window in pixels. *   left          | initial X coordinate of the window. *   top           | initial Y coordinate of the window. *   title         | title of the window. *   content       | content of the window. *   divContent    | id of or "pointer" to the HTML element containing the content for the window. *   urlContent    | URL to load the content from. *    * \endcode */Zapatec.Window.setup = function (config) {	if (!config) {config = {};}	var win = new Zapatec.Window(config);	win.create(config.left || 0, config.top || 0, config.width || win.config.minWidth, config.height || win.config.minHeight);	if (config.title) {		win.setTitle(config.title);	}	if (config.content) {		win.setContent(config.content);	}	if (config.divContent) {     // Save divContent config option for later use     win.config.divContent = config.divContent;		win.setDivContent(config.divContent);	}	if (config.urlContent) {		win.setContentUrl(config.urlContent);	}	win.show();		return win;}; /** * A function that is called to handle mousedown event for our window. * * This function handles the routines that should be done on mousedown. Target parameter determines * whether something was "pushed" and holds that "pushed" element. "pushed" means that mouse was down * on that element and was not released. buttonType property of the target element determines the action that will be made. * There is one usefull possibility: if the target element has the customMouseDown property and it holds  * function, this function will be called except the default action. * * @param ev [object] - event object. * @param win [object] - our window object. * @param target [object] - "pushed" element. */Zapatec.Window.mouseDown = function (ev, win, target) {	if (!win.config.raiseOnlyOnTitle) {		win.raise();	} else {		if (target && ((target.buttonType == "move") || (target.buttonType == "min") || (target.buttonType == "max") || (target.buttonType == "close") || (target.buttonType == "restore"))) {			win.raise();				}	}	if (target) {		switch (target.buttonType) {			case "move" : {				if (!target.customMouseDown) {					if (win.config.canDrag && win.config.state != "min" && win.config.state != "max") {						var posX = ev.pageX || ev.clientX + window.document.body.scrollLeft || 0;						var posY = ev.pageY || ev.clientY + window.document.body.scrollTop || 0;						var L = parseInt(win.winDiv.style.left) || 0;						var T = parseInt(win.winDiv.style.top) || 0;						win.winDiv.xOffs = (posX - L);						win.winDiv.yOffs = (posY - T);						win.titleArea.style.cursor = "move";					}				} else {					target.customMouseDown(ev, win, target);				}				break;			}			case "close" : {				if (!target.customMouseDown) {				} else {					target.customMouseDown(ev, win, target);				}				break;			}		}	}}/** * A function that is called to handle mousemove event for our window. * * This function handles the routines that should be done on mousedown. Target parameter determines * whether something was "pushed" and holds that "pushed" element. "pushed" means that mouse was down * on that element and was not released. buttonType property of the target element determines the action that will be made. * There is one usefull possibility: if the target element has the customMouseMove property and it holds  * function, this function will be called except the default action. * * @param ev [object] - event object. * @param win [object] - our window object. * @param target [object] - "pushed" element. */Zapatec.Window.mouseMove = function (ev, win, target) {	if (target) {		switch (target.buttonType) {			case "move" : {				if (!target.customMouseMove) {					if (win.config.canDrag && win.config.state != "min" && win.config.state != "max") {						var posX = ev.pageX || ev.clientX + window.document.body.scrollLeft || 0;						var posY = ev.pageY || ev.clientY + window.document.body.scrollTop || 0;						var L = posX - win.winDiv.xOffs, T = posY - win.winDiv.yOffs;						win.setPos(L, T);					}				} else {					target.customMouseMove(ev, win, target);				}				break;			}		}	}}/** * A function that is called to handle mouseup event for our window. * * This function handles the routines that should be done on mousedown. Target parameter determines * whether something was "pushed" and holds that "pushed" element. "pushed" means that mouse was down * on that element and was not released. buttonType property of the target element determines the action that will be made. * There is one usefull possibility: if the target element has the customMouseUp property and it holds  * function, this function will be called except the default action. * * @param ev [object] - event object. * @param win [object] - our window object. * @param target [object] - "pushed" element. */Zapatec.Window.mouseUp = function (ev, win, target, hi) {	if (target) {		switch (target.buttonType) {			case "move" : {				if (!target.customMouseUp) {					if (win.config.canDrag) {						win.titleArea.style.cursor = "default";					}				} else {					target.customMouseUp(ev, win, target);				}				break;			}			case "close" : {				if (!target.customMouseUp) {					if (target == (ev.srcElement || ev.target)) {						win.close();					}				} else {					target.customMouseUp(ev, win, target);				}				break;			}		}	}}/** * This function assigns event handlers and implements "pushed" element finding. * * "Pushed" element finding is implemented the following way: all the event handlers see one * global variable target. When mouse is down on some element we try to get its buttonType property * or seek this property in elements parents. If the element with the buttonType is found it is put * into target variable.  */Zapatec.Window.prototype.addEvents = function () {	var self = this, target = null;	Zapatec.Utils.addEvent(this.winDiv, "mousedown", function (ev) {		ev = ev || window.event; 		target = Zapatec.Utils.getTargetElement(ev);		while(!target.buttonType && (target != self.winDiv)) {			target = target.parentNode;		}		if (!target.buttonType) target = null;		Zapatec.Window.mouseDown(ev, self, target);		if (target) return Zapatec.Utils.stopEvent(ev);	});	Zapatec.Utils.addEvent(window.document, "mousemove", function (ev) {		ev = ev || window.event; 		Zapatec.Window.mouseMove(ev, self, target);		if (target) return Zapatec.Utils.stopEvent(ev);	});	Zapatec.Utils.addEvent(window.document, "mouseup", function (ev) {		ev = ev || window.event; 		Zapatec.Window.mouseUp(ev, self, target);		target = null;		if (target) return Zapatec.Utils.stopEvent(ev);	});}/* * \internal * For internal use only. Calculates some sizes needed to implement title and status text cutting and content scrolling. */Zapatec.Window.prototype.calculateSizes = function () {	this.winDiv.style.display = "block";	if (this.titleArea) {		//Safari Fix		this.config.titleWidth = this.config.width - (this.winDiv.offsetWidth - (Zapatec.is_khtml ? this.titleText.firstChild.offsetWidth : this.titleText.offsetWidth));		//Safari Fix		if (Zapatec.is_khtml) this.titleText.removeChild(this.titleText.firstChild);	}		if (this.contentArea) {		//Safari Fix		this.config.contentWidthDiff = this.winDiv.offsetWidth - (Zapatec.is_khtml ? this.contentArea.firstChild.offsetWidth : this.contentArea.offsetWidth);		this.config.contentWidth = this.config.width - this.config.contentWidthDiff;		//Safari Fix		if (Zapatec.is_khtml) this.contentArea.removeChild(this.contentArea.firstChild);	}		this.config.heightDiff = this.winDiv.offsetHeight - this.config.height;	this.winDiv.style.display = "none";}/** * Creates all HTML elements of the window. This function takes in account * this.config object, trough its properties you can disable the following elements: *  - The whole title (currently don't work) - this.showTitle property; *  - Any of 3 buttons (min, max, close) - this.show(Min|Max|Close)Button property; *  - The status area - this.showStatus property; *  - The resize icon - this.canResize property; * Also calls this.addEvents to assign event handlers to the main div and creates WCH  * (http://www.aplus.co.yu/WCH/). * This function defines the following properties for HTML elements, needed for event handlers: *  - buttonType - one of three buttons or resize icon;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
caoporn国产一区二区| 色一情一伦一子一伦一区| 97久久超碰精品国产| 欧美男女性生活在线直播观看| 久久精品欧美一区二区三区不卡 | 欧美亚洲动漫制服丝袜| 久久亚洲精精品中文字幕早川悠里 | 成人小视频免费在线观看| 欧美日韩免费电影| 亚洲欧美怡红院| 国产麻豆一精品一av一免费 | 久久欧美中文字幕| 石原莉奈一区二区三区在线观看| 99久久精品国产导航| 国产日韩精品视频一区| 久久精品噜噜噜成人av农村| 欧美另类z0zxhd电影| 亚洲精品高清在线| 97久久超碰国产精品电影| 久久精品亚洲精品国产欧美kt∨ | 午夜婷婷国产麻豆精品| 91在线视频网址| 国产精品久久免费看| 国产成人av一区二区三区在线 | 97久久精品人人爽人人爽蜜臀| 久久久精品综合| 国产综合久久久久影院| 日韩一区二区电影| 美女网站一区二区| 日韩欧美美女一区二区三区| 日本强好片久久久久久aaa| 欧美日韩成人高清| 天天影视涩香欲综合网| 777a∨成人精品桃花网| 日韩精品91亚洲二区在线观看 | 日本成人在线网站| 欧美一区二区日韩一区二区| 蜜桃视频在线观看一区| 91精品久久久久久久91蜜桃| 丝袜美腿成人在线| 欧美tickle裸体挠脚心vk| 黄色日韩网站视频| 久久久精品国产免大香伊| 国产91精品免费| 综合久久久久综合| 91成人免费在线视频| 亚洲成人自拍网| 欧美不卡一区二区三区四区| 国产精品资源在线| 亚洲欧美日韩国产中文在线| 欧美视频一区二| 久久99国产精品久久| 国产视频不卡一区| 一本大道久久a久久精品综合| 亚洲在线观看免费| 精品乱码亚洲一区二区不卡| 成人免费毛片aaaaa**| 最近中文字幕一区二区三区| 欧美美女一区二区在线观看| 国内成+人亚洲+欧美+综合在线| 中文一区在线播放| 欧美日精品一区视频| 激情综合网av| 亚洲欧美国产高清| 欧美成人女星排名| 91天堂素人约啪| 免费成人在线视频观看| 日本一区二区久久| 欧美另类z0zxhd电影| 大胆亚洲人体视频| 日韩 欧美一区二区三区| 久久久国产精华| 欧美日韩一二区| 国产成人福利片| 日韩高清在线电影| 亚洲欧美在线另类| 久久久久99精品国产片| 欧美精品电影在线播放| 成人深夜在线观看| 美女视频免费一区| 一区二区三区四区精品在线视频 | 日韩女优视频免费观看| 95精品视频在线| 国产一区二区0| 日本网站在线观看一区二区三区| 欧美国产成人在线| 精品剧情v国产在线观看在线| 在线观看视频一区二区欧美日韩| 国产永久精品大片wwwapp| 同产精品九九九| 一区二区三区欧美日| 亚洲国产精品t66y| 久久精品人人做| 精品国产乱码久久| 5858s免费视频成人| 色综合天天综合色综合av| 国产福利一区二区三区| 男男成人高潮片免费网站| 亚洲第一会所有码转帖| 一区二区三区在线免费| 最新欧美精品一区二区三区| 久久久噜噜噜久久中文字幕色伊伊 | 成人免费视频视频| 国产专区综合网| 精品一区二区在线播放| 久久成人羞羞网站| 蜜臀av性久久久久蜜臀aⅴ四虎 | 久久综合久久综合久久| 日韩欧美视频一区| 日韩亚洲欧美成人一区| 91精品免费在线观看| 欧美日韩在线播放三区四区| 欧美午夜电影在线播放| 欧美在线免费播放| 欧美日韩一区二区三区四区五区 | 91麻豆精品在线观看| 99视频有精品| 色域天天综合网| 欧美亚洲高清一区二区三区不卡| 91国内精品野花午夜精品| 日本精品免费观看高清观看| 欧美在线free| 欧美理论片在线| 欧美mv日韩mv亚洲| 久久亚洲私人国产精品va媚药| 国产亚洲精品aa| 亚洲欧洲一区二区在线播放| 亚洲黄色性网站| 视频一区欧美精品| 国内精品写真在线观看| 国产91富婆露脸刺激对白| 99久久综合狠狠综合久久| 色久优优欧美色久优优| 666欧美在线视频| 国产亚洲制服色| 亚洲黄网站在线观看| 日本三级亚洲精品| 成人伦理片在线| 欧美日韩国产影片| 精品国产免费久久 | 国产女主播视频一区二区| 日韩美女视频19| 污片在线观看一区二区| 国产麻豆一精品一av一免费| 色综合久久九月婷婷色综合| 欧美肥妇bbw| 中文字幕二三区不卡| 亚洲一区二区三区四区在线免费观看 | 日本高清不卡aⅴ免费网站| 91精品国产综合久久久蜜臀粉嫩| 久久久亚洲精华液精华液精华液 | 国产九色精品成人porny | 不卡的av电影在线观看| 欧美剧情片在线观看| 国产精品国产三级国产aⅴ原创 | 性做久久久久久久免费看| 国产一区二区免费视频| 91成人看片片| 国产清纯美女被跳蛋高潮一区二区久久w| 亚洲欧美日韩国产中文在线| 久久国产视频网| 欧美性受极品xxxx喷水| 久久久久9999亚洲精品| 日本亚洲视频在线| 色美美综合视频| 中文字幕欧美日韩一区| 极品少妇xxxx精品少妇| 欧美日韩在线一区二区| 综合久久国产九一剧情麻豆| 国产在线播放一区三区四| 欧美二区三区的天堂| 亚洲综合在线第一页| www.视频一区| 久久久久久久久久久电影| 免费在线一区观看| 欧美日本在线看| 亚洲精品菠萝久久久久久久| 国产成人精品在线看| 久久影视一区二区| 美女视频第一区二区三区免费观看网站| 色系网站成人免费| 国产精品久久久久永久免费观看| 精品一区二区三区免费| 欧美一区二区在线免费播放| 亚洲国产综合视频在线观看| 色综合天天视频在线观看| 国产精品动漫网站| 成人晚上爱看视频| 国产精品丝袜在线| 成人激情免费视频| 国产精品免费丝袜| 成人网页在线观看| 国产精品传媒入口麻豆| 成人晚上爱看视频| 国产精品无码永久免费888| 国产99一区视频免费 | 成人免费福利片| 日本一区二区三区在线不卡| 成人动漫视频在线| 日韩一区中文字幕|