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

? 歡迎來(lái)到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? rico_change.js

?? ajax窗體技術(shù),有許多漂亮的窗體,實(shí)現(xiàn)漂亮的客戶端
?? JS
?? 第 1 頁(yè) / 共 5 頁(yè)
字號(hào):
      else {
         this._terminateEvent(e);
         new Rico.Effect.Position( this.dragElement,
                              this.origPos.x,
                              this.origPos.y,
                              200,
                              20,
                              { complete : this._doCancelDragProcessing.bind(this) } );
      }

     Event.stopObserving(document.body, "mousemove", this._mouseMove);
     Event.stopObserving(document.body, "mouseup",  this._mouseUp);
   },

   _retTrue: function () {
      return true;
   },

   _completeDropOperation: function(e) {
      if ( this.dragElement != this.currentDragObjects[0].getMouseDownHTMLElement() ) {
         if ( this.dragElement.parentNode != null )
            this.dragElement.parentNode.removeChild(this.dragElement);
      }

      this._deactivateRegisteredDropZones();
      this._endDrag();
      this.clearSelection();
      this.dragElement = null;
      this.currentDragObjectVisible = false;
      this._terminateEvent(e);
   },

   _doCancelDragProcessing: function() {
      this._cancelDrag();

        if ( this.dragElement != this.currentDragObjects[0].getMouseDownHTMLElement() && this.dragElement)
           if ( this.dragElement.parentNode != null )
              this.dragElement.parentNode.removeChild(this.dragElement);


      this._deactivateRegisteredDropZones();
      this.dragElement = null;
      this.currentDragObjectVisible = false;
   },

   _placeDraggableInDropZone: function(e) {
      var foundDropZone = false;
      var n = this.dropZones.length;
      for ( var i = 0 ; i < n ; i++ ) {
         if ( this._mousePointInDropZone( e, this.dropZones[i] ) ) {
            if ( this.dropZones[i].canAccept(this.currentDragObjects) ) {
               this.dropZones[i].hideHover();
               this.dropZones[i].accept(this.currentDragObjects);
               foundDropZone = true;
               break;
            }
         }
      }

      return foundDropZone;
   },

   _cancelDrag: function() {
      for ( var i = 0 ; i < this.currentDragObjects.length ; i++ )
         this.currentDragObjects[i].cancelDrag();
   },

   _endDrag: function() {
      for ( var i = 0 ; i < this.currentDragObjects.length ; i++ )
         this.currentDragObjects[i].endDrag();
   },

   _mousePointInDropZone: function( e, dropZone ) {

      var absoluteRect = dropZone.getAbsoluteRect();

      return e.clientX  > absoluteRect.left + this._leftOffset(e) &&
             e.clientX  < absoluteRect.right + this._leftOffset(e) &&
             e.clientY  > absoluteRect.top + this._topOffset(e)   &&
             e.clientY  < absoluteRect.bottom + this._topOffset(e);
   },

   _addMouseDownHandler: function( aDraggable )
   {
       htmlElement  = aDraggable.getMouseDownHTMLElement();
      if ( htmlElement  != null ) { 
         htmlElement.draggable = aDraggable;
         Event.observe(htmlElement , "mousedown", this._onmousedown.bindAsEventListener(this));
         Event.observe(htmlElement, "mousedown", this._mouseDown);
      }
   },

   _activateRegisteredDropZones: function() {
      var n = this.dropZones.length;
      for ( var i = 0 ; i < n ; i++ ) {
         var dropZone = this.dropZones[i];
         if ( dropZone.canAccept(this.currentDragObjects) )
            dropZone.activate();
      }

      this.activatedDropZones = true;
   },

   _deactivateRegisteredDropZones: function() {
      var n = this.dropZones.length;
      for ( var i = 0 ; i < n ; i++ )
         this.dropZones[i].deactivate();
      this.activatedDropZones = false;
   },

   _onmousedown: function () {
     Event.observe(document.body, "mousemove", this._mouseMove);
     Event.observe(document.body, "mouseup",  this._mouseUp);
   },

   _terminateEvent: function(e) {
      if ( e.stopPropagation != undefined )
         e.stopPropagation();
      else if ( e.cancelBubble != undefined )
         e.cancelBubble = true;

      if ( e.preventDefault != undefined )
         e.preventDefault();
      else
         e.returnValue = false;
   },


	   initializeEventHandlers: function() {
	      if ( typeof document.implementation != "undefined" &&
	         document.implementation.hasFeature("HTML",   "1.0") &&
	         document.implementation.hasFeature("Events", "2.0") &&
	         document.implementation.hasFeature("CSS",    "2.0") ) {
	         document.addEventListener("mouseup",   this._mouseUpHandler.bindAsEventListener(this),  false);
	         document.addEventListener("mousemove", this._mouseMoveHandler.bindAsEventListener(this), false);
	      }
	      else {
	         document.attachEvent( "onmouseup",   this._mouseUpHandler.bindAsEventListener(this) );
	         document.attachEvent( "onmousemove", this._mouseMoveHandler.bindAsEventListener(this) );
	      }
	   }
	}

	var dndMgr = new Rico.DragAndDrop();
	dndMgr.initializeEventHandlers();


//-------------------- ricoDraggable.js
Rico.Draggable = Class.create();

Rico.Draggable.prototype = {

   initialize: function( type, htmlElement ) {
      this.type          = type;
      this.htmlElement   = $(htmlElement);
      this.selected      = false;
   },

   /**
    *   Returns the HTML element that should have a mouse down event
    *   added to it in order to initiate a drag operation
    *
    **/
   getMouseDownHTMLElement: function() {
      return this.htmlElement;
   },

   select: function() {
      this.selected = true;

      if ( this.showingSelected )
         return;

      var htmlElement = this.getMouseDownHTMLElement();

      var color = Rico.Color.createColorFromBackground(htmlElement);
      color.isBright() ? color.darken(0.033) : color.brighten(0.033);

      this.saveBackground = RicoUtil.getElementsComputedStyle(htmlElement, "backgroundColor", "background-color");
      htmlElement.style.backgroundColor = color.asHex();
      this.showingSelected = true;
   },

   deselect: function() {
      this.selected = false;
      if ( !this.showingSelected )
         return;

      var htmlElement = this.getMouseDownHTMLElement();

      htmlElement.style.backgroundColor = this.saveBackground;
      this.showingSelected = false;
   },

   isSelected: function() {
      return this.selected;
   },

   startDrag: function() {
   },

   cancelDrag: function() {
   },

   endDrag: function() {
   },

   getSingleObjectDragGUI: function() {
      return this.htmlElement;
   },

   getMultiObjectDragGUI: function( draggables ) {
      return this.htmlElement;
   },

   getDroppedGUI: function() {
      return this.htmlElement;
   },

   toString: function() {
      return this.type + ":" + this.htmlElement + ":";
   }

}


//-------------------- ricoDropzone.js
Rico.Dropzone = Class.create();

Rico.Dropzone.prototype = {

   initialize: function( htmlElement ) {
      this.htmlElement  = $(htmlElement);
      this.absoluteRect = null;
   },

   getHTMLElement: function() {
      return this.htmlElement;
   },

   clearPositionCache: function() {
      this.absoluteRect = null;
   },

   getAbsoluteRect: function() {
      if ( this.absoluteRect == null ) {
         var htmlElement = this.getHTMLElement();
         var pos = RicoUtil.toViewportPosition(htmlElement);

         this.absoluteRect = {
            top:    pos.y,
            left:   pos.x,
            bottom: pos.y + htmlElement.offsetHeight,
            right:  pos.x + htmlElement.offsetWidth
         };
      }
      return this.absoluteRect;
   },

   activate: function() {
      var htmlElement = this.getHTMLElement();
      if (htmlElement == null  || this.showingActive)
         return;

      this.showingActive = true;
      this.saveBackgroundColor = htmlElement.style.backgroundColor;

      var fallbackColor = "#ffea84";
      var currentColor = Rico.Color.createColorFromBackground(htmlElement);
      if ( currentColor == null )
         htmlElement.style.backgroundColor = fallbackColor;
      else {
         currentColor.isBright() ? currentColor.darken(0.2) : currentColor.brighten(0.2);
         htmlElement.style.backgroundColor = currentColor.asHex();
      }
   },

   deactivate: function() {
      var htmlElement = this.getHTMLElement();
      if (htmlElement == null || !this.showingActive)
         return;

      htmlElement.style.backgroundColor = this.saveBackgroundColor;
      this.showingActive = false;
      this.saveBackgroundColor = null;
   },

   showHover: function() {
      var htmlElement = this.getHTMLElement();
      if ( htmlElement == null || this.showingHover )
         return;

      this.saveBorderWidth = htmlElement.style.borderWidth;
      this.saveBorderStyle = htmlElement.style.borderStyle;
      this.saveBorderColor = htmlElement.style.borderColor;

      this.showingHover = true;
      htmlElement.style.borderWidth = "1px";
      htmlElement.style.borderStyle = "solid";
      //htmlElement.style.borderColor = "#ff9900";
      htmlElement.style.borderColor = "#ffff00";
   },

   hideHover: function() {
      var htmlElement = this.getHTMLElement();
      if ( htmlElement == null || !this.showingHover )
         return;

      htmlElement.style.borderWidth = this.saveBorderWidth;
      htmlElement.style.borderStyle = this.saveBorderStyle;
      htmlElement.style.borderColor = this.saveBorderColor;
      this.showingHover = false;
   },

   canAccept: function(draggableObjects) {
      return true;
   },

   accept: function(draggableObjects) {
      var htmlElement = this.getHTMLElement();
      if ( htmlElement == null )
         return;

      n = draggableObjects.length;
      for ( var i = 0 ; i < n ; i++ )
      {
         var theGUI = draggableObjects[i].getDroppedGUI();
         if ( RicoUtil.getElementsComputedStyle( theGUI, "position" ) == "absolute" )
         {
            theGUI.style.position = "static";
            theGUI.style.top = "";
            theGUI.style.top = "";
         }
         htmlElement.appendChild(theGUI);
      }
   }
}


//-------------------- ricoEffects.js

Rico.Effect = {};

Rico.Effect.SizeAndPosition = Class.create();
Rico.Effect.SizeAndPosition.prototype = {

   initialize: function(element, x, y, w, h, duration, steps, options) {
      this.element = $(element);
      this.x = x;
      this.y = y;
      this.w = w;
      this.h = h;
      this.duration = duration;
      this.steps    = steps;
      this.options  = arguments[7] || {};

      this.sizeAndPosition();
   },

   sizeAndPosition: function() {
      if (this.isFinished()) {
         if(this.options.complete) this.options.complete(this);
         return;
      }

      if (this.timer)
         clearTimeout(this.timer);

      var stepDuration = Math.round(this.duration/this.steps) ;

      // Get original values: x,y = top left corner;  w,h = width height
      var currentX = this.element.offsetLeft;
      var currentY = this.element.offsetTop;
      var currentW = this.element.offsetWidth;
      var currentH = this.element.offsetHeight;

      // If values not set, or zero, we do not modify them, and take original as final as well
      this.x = (this.x) ? this.x : currentX;
      this.y = (this.y) ? this.y : currentY;
      this.w = (this.w) ? this.w : currentW;
      this.h = (this.h) ? this.h : currentH;

      // how much do we need to modify our values for each step?
      var difX = this.steps >  0 ? (this.x - currentX)/this.steps : 0;
      var difY = this.steps >  0 ? (this.y - currentY)/this.steps : 0;
      var difW = this.steps >  0 ? (this.w - currentW)/this.steps : 0;
      var difH = this.steps >  0 ? (this.h - currentH)/this.steps : 0;

      this.moveBy(difX, difY);
      this.resizeBy(difW, difH);

      this.duration -= stepDuration;
      this.steps--;

      this.timer = setTimeout(this.sizeAndPosition.bind(this), stepDuration);
   },

   isFinished: function() {
      return this.steps <= 0;
   },

   moveBy: function( difX, difY ) {
      var currentLeft = this.element.offsetLeft;

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产aⅴ精品一区二区三区色成熟| 欧美日韩卡一卡二| 欧美图片一区二区三区| xvideos.蜜桃一区二区| 一区二区久久久| 国产精品99久久久久久久女警| 色综合夜色一区| 久久精品视频一区二区三区| 亚洲成人免费在线观看| 成人福利视频在线看| 欧美精品一区二区三区四区 | 国产一区二区三区美女| 欧美在线观看视频一区二区 | 日韩欧美色综合网站| 亚洲精品免费在线| 国产成人免费高清| 欧美tickling挠脚心丨vk| 亚洲综合图片区| 一本大道综合伊人精品热热| 国产日韩成人精品| 韩国精品在线观看| 欧美大片在线观看一区| 日韩激情一区二区| 欧美日韩中文字幕一区二区| 亚洲男女毛片无遮挡| 91小视频免费观看| 亚洲欧美一区二区三区国产精品 | 日韩欧美精品在线视频| 日本成人中文字幕在线视频| 欧美日韩精品免费| 亚洲高清一区二区三区| 91久久精品日日躁夜夜躁欧美| 国产精品伦一区二区三级视频| 国产成人在线视频播放| 国产精品第四页| 懂色av一区二区三区免费观看| 久久久www成人免费无遮挡大片| 男男gaygay亚洲| 欧美岛国在线观看| 国产精品一二三| 国产网站一区二区| 成人免费毛片片v| 亚洲色图自拍偷拍美腿丝袜制服诱惑麻豆| 成人性生交大片免费看中文 | 日韩免费高清av| 极品美女销魂一区二区三区| 精品国产sm最大网站免费看| 国产精品69毛片高清亚洲| 国产精品美女久久久久久2018| 91在线视频在线| 午夜激情综合网| 精品精品国产高清a毛片牛牛 | 日韩二区三区在线观看| 日韩一区二区在线看片| 国内久久婷婷综合| 中文字幕欧美激情| 91国内精品野花午夜精品| 日韩精品1区2区3区| 国产亚洲成av人在线观看导航| k8久久久一区二区三区| 亚洲成人免费观看| 久久久不卡网国产精品一区| 91视频观看免费| 偷拍一区二区三区| 久久九九影视网| 91福利资源站| 国产在线精品一区二区三区不卡 | 日韩女优毛片在线| 成人黄色av电影| 日韩制服丝袜先锋影音| 精品99999| 精品视频全国免费看| 韩国女主播成人在线观看| 亚洲激情自拍偷拍| 久久色.com| 6080午夜不卡| 91丝袜美腿高跟国产极品老师| 亚洲成人av一区二区| 欧美激情一区二区| 91精品在线麻豆| 91免费看视频| 国产成人亚洲精品青草天美| 午夜欧美在线一二页| 国产精品麻豆视频| 精品国产髙清在线看国产毛片| 97国产一区二区| 国产成人免费视频一区| 免费观看一级特黄欧美大片| 亚洲摸摸操操av| 国产精品污污网站在线观看| 欧美成人aa大片| 欧美二区三区91| 91蜜桃婷婷狠狠久久综合9色| 国产毛片精品国产一区二区三区| 午夜电影久久久| 夜夜嗨av一区二区三区中文字幕| 国产欧美综合色| 精品国产乱码久久久久久闺蜜| 欧美日韩精品一区视频| 色欧美日韩亚洲| 成人h动漫精品| 成人激情免费网站| 国产高清一区日本| 国内成人精品2018免费看| 免费观看一级欧美片| 日韩高清不卡一区二区三区| 亚洲小少妇裸体bbw| 国产精品久久久久久久久免费樱桃 | 一区二区三区在线免费播放| 国产精品视频线看| 国产亚洲成aⅴ人片在线观看| 久久久亚洲综合| 久久精品网站免费观看| 久久精品视频网| 亚洲国产成人午夜在线一区| 久久久一区二区三区捆绑**| 久久只精品国产| 久久久久国产精品人| 久久久久国产精品麻豆| 国产欧美一区在线| 一色桃子久久精品亚洲| 亚洲欧美日韩国产另类专区| 亚洲免费av高清| 五月天国产精品| 九九精品一区二区| 国产精品一线二线三线精华| 国产·精品毛片| 一本到一区二区三区| 欧美日本在线一区| 精品国产乱码久久久久久1区2区| 久久久精品免费免费| 中文字幕久久午夜不卡| 亚洲视频小说图片| 亚洲成av人片一区二区三区| 青青草91视频| 国产不卡高清在线观看视频| 99国产精品久久| 在线91免费看| 国产亚洲短视频| 亚洲午夜一二三区视频| 久久精工是国产品牌吗| 成人性色生活片| 欧美在线观看一区二区| 精品精品国产高清a毛片牛牛 | 成人激情免费视频| 91精品福利视频| 日韩精品一区二| 国产精品久久久久aaaa| 日韩精品高清不卡| 成人av免费观看| 欧美一区二区三区精品| 中文在线一区二区| 日韩电影免费在线观看网站| 精品一区二区国语对白| 日本乱码高清不卡字幕| 精品国产欧美一区二区| 亚洲精品成人少妇| 国内精品伊人久久久久av影院 | 激情综合色播五月| av欧美精品.com| 欧美变态口味重另类| 亚洲精品亚洲人成人网| 国产一区二区三区在线观看免费| 精品福利一二区| 依依成人综合视频| 国产成人免费在线观看不卡| 欧美日韩精品一区二区三区四区| 国产日韩欧美电影| 免费看日韩精品| 欧洲日韩一区二区三区| 欧美激情在线观看视频免费| 日韩成人免费看| 色婷婷激情久久| 国产精品拍天天在线| 精品一区二区久久久| 欧美顶级少妇做爰| 一区二区三区日韩精品视频| 国产精品中文字幕日韩精品| 欧美精品tushy高清| 亚洲自拍欧美精品| av色综合久久天堂av综合| 久久精品视频在线看| 欧美96一区二区免费视频| 69p69国产精品| 午夜精品福利一区二区三区蜜桃| 色婷婷精品大视频在线蜜桃视频 | 一区二区在线观看免费| 国产不卡免费视频| 国产午夜精品一区二区| 久久精品国产久精国产| 日韩视频免费直播| 天天色综合天天| 欧美肥胖老妇做爰| 水蜜桃久久夜色精品一区的特点| 91成人在线观看喷潮| 亚洲电影激情视频网站| 欧美日韩精品一区视频| 视频一区在线视频| 91精品国产入口在线| 美女久久久精品|