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

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

?? jquery.tablednd.js

?? news新聞系統. news新聞系統 news新聞系統
?? JS
?? 第 1 頁 / 共 2 頁
字號:
/** * TableDnD plug-in for JQuery, allows you to drag and drop table rows * You can set up various options to control how the system will work * Copyright (c) Denis Howlett <denish@isocra.com> * Licensed like jQuery, see http://docs.jquery.com/License. * * Configuration options: *  * onDragStyle *     This is the style that is assigned to the row during drag. There are limitations to the styles that can be *     associated with a row (such as you can't assign a border--well you can, but it won't be *     displayed). (So instead consider using onDragClass.) The CSS style to apply is specified as *     a map (as used in the jQuery css(...) function). * onDropStyle *     This is the style that is assigned to the row when it is dropped. As for onDragStyle, there are limitations *     to what you can do. Also this replaces the original style, so again consider using onDragClass which *     is simply added and then removed on drop. * onDragClass *     This class is added for the duration of the drag and then removed when the row is dropped. It is more *     flexible than using onDragStyle since it can be inherited by the row cells and other content. The default *     is class is tDnD_whileDrag. So to use the default, simply customise this CSS class in your *     stylesheet. * onDrop *     Pass a function that will be called when the row is dropped. The function takes 2 parameters: the table *     and the row that was dropped. You can work out the new order of the rows by using *     table.rows. * onDragStart *     Pass a function that will be called when the user starts dragging. The function takes 2 parameters: the *     table and the row which the user has started to drag. * onAllowDrop *     Pass a function that will be called as a row is over another row. If the function returns true, allow  *     dropping on that row, otherwise not. The function takes 2 parameters: the dragged row and the row under *     the cursor. It returns a boolean: true allows the drop, false doesn't allow it. * scrollAmount *     This is the number of pixels to scroll if the user moves the mouse cursor to the top or bottom of the *     window. The page should automatically scroll up or down as appropriate (tested in IE6, IE7, Safari, FF2, *     FF3 beta * dragHandle *     This is the name of a class that you assign to one or more cells in each row that is draggable. If you *     specify this class, then you are responsible for setting cursor: move in the CSS and only these cells *     will have the drag behaviour. If you do not specify a dragHandle, then you get the old behaviour where *     the whole row is draggable. *  * Other ways to control behaviour: * * Add class="nodrop" to any rows for which you don't want to allow dropping, and class="nodrag" to any rows * that you don't want to be draggable. * * Inside the onDrop method you can also call $.tableDnD.serialize() this returns a string of the form * <tableID>[]=<rowID1>&<tableID>[]=<rowID2> so that you can send this back to the server. The table must have * an ID as must all the rows. * * Other methods: * * $("...").tableDnDUpdate()  * Will update all the matching tables, that is it will reapply the mousedown method to the rows (or handle cells). * This is useful if you have updated the table rows using Ajax and you want to make the table draggable again. * The table maintains the original configuration (so you don't have to specify it again). * * $("...").tableDnDSerialize() * Will serialize and return the serialized string as above, but for each of the matching tables--so it can be * called from anywhere and isn't dependent on the currentTable being set up correctly before calling * * Known problems: * - Auto-scoll has some problems with IE7  (it scrolls even when it shouldn't), work-around: set scrollAmount to 0 *  * Version 0.2: 2008-02-20 First public version * Version 0.3: 2008-02-07 Added onDragStart option *                         Made the scroll amount configurable (default is 5 as before) * Version 0.4: 2008-03-15 Changed the noDrag/noDrop attributes to nodrag/nodrop classes *                         Added onAllowDrop to control dropping *                         Fixed a bug which meant that you couldn't set the scroll amount in both directions *                         Added serialize method * Version 0.5: 2008-05-16 Changed so that if you specify a dragHandle class it doesn't make the whole row *                         draggable *                         Improved the serialize method to use a default (and settable) regular expression. *                         Added tableDnDupate() and tableDnDSerialize() to be called when you are outside the table */jQuery.tableDnD = {    /** Keep hold of the current table being dragged */    currentTable : null,    /** Keep hold of the current drag object if any */    dragObject: null,    /** The current mouse offset */    mouseOffset: null,    /** Remember the old value of Y so that we don't do too much processing */    oldY: 0,    /** Actually build the structure */    build: function(options) {        // Set up the defaults if any        this.each(function() {            // This is bound to each matching table, set up the defaults and override with user options            this.tableDnDConfig = jQuery.extend({                onDragStyle: null,                onDropStyle: null,				// Add in the default class for whileDragging				onDragClass: "tDnD_whileDrag",                onDrop: null,                onDragStart: null,                scrollAmount: 5,				serializeRegexp: /[^\-]*$/, // The regular expression to use to trim row IDs				serializeParamName: null, // If you want to specify another parameter name instead of the table ID                dragHandle: null // If you give the name of a class here, then only Cells with this class will be draggable            }, options || {});            // Now make the rows draggable            jQuery.tableDnD.makeDraggable(this);        });        // Now we need to capture the mouse up and mouse move event        // We can use bind so that we don't interfere with other event handlers        jQuery(document)            .bind('mousemove', jQuery.tableDnD.mousemove)            .bind('mouseup', jQuery.tableDnD.mouseup);        // Don't break the chain        return this;    },    /** This function makes all the rows on the table draggable apart from those marked as "NoDrag" */    makeDraggable: function(table) {        var config = table.tableDnDConfig;		if (table.tableDnDConfig.dragHandle) {			// We only need to add the event to the specified cells			var cells = jQuery("td."+table.tableDnDConfig.dragHandle, table);			cells.each(function() {				// The cell is bound to "this"                jQuery(this).mousedown(function(ev) {                    jQuery.tableDnD.dragObject = this.parentNode;                    jQuery.tableDnD.currentTable = table;                    jQuery.tableDnD.mouseOffset = jQuery.tableDnD.getMouseOffset(this, ev);                    if (config.onDragStart) {                        // Call the onDrop method if there is one                        config.onDragStart(table, this);                    }                    return false;                });			})		} else {			// For backwards compatibility, we add the event to the whole row	        var rows = jQuery("tr", table); // get all the rows as a wrapped set	        rows.each(function() {				// Iterate through each row, the row is bound to "this"				var row = jQuery(this);				if (! row.hasClass("nodrag")) {	                row.mousedown(function(ev) {	                    if (ev.target.tagName == "TD") {	                        jQuery.tableDnD.dragObject = this;	                        jQuery.tableDnD.currentTable = table;	                        jQuery.tableDnD.mouseOffset = jQuery.tableDnD.getMouseOffset(this, ev);	                        if (config.onDragStart) {	                            // Call the onDrop method if there is one	                            config.onDragStart(table, this);	                        }	                        return false;	                    }	                }).css("cursor", "move"); // Store the tableDnD object				}			});		}	},	updateTables: function() {		this.each(function() {			// this is now bound to each matching table			if (this.tableDnDConfig) {				jQuery.tableDnD.makeDraggable(this);			}		})	},    /** Get the mouse coordinates from the event (allowing for browser differences) */    mouseCoords: function(ev){        if(ev.pageX || ev.pageY){            return {x:ev.pageX, y:ev.pageY};        }        return {            x:ev.clientX + document.body.scrollLeft - document.body.clientLeft,            y:ev.clientY + document.body.scrollTop  - document.body.clientTop        };    },    /** Given a target element and a mouse event, get the mouse offset from that element.        To do this we need the element's position and the mouse position */    getMouseOffset: function(target, ev) {        ev = ev || window.event;        var docPos    = this.getPosition(target);        var mousePos  = this.mouseCoords(ev);        return {x:mousePos.x - docPos.x, y:mousePos.y - docPos.y};    },

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲欧美日韩在线不卡| 精品中文字幕一区二区小辣椒| 日韩视频123| 欧美亚洲国产bt| 韩国视频一区二区| 久久精工是国产品牌吗| 日本中文字幕一区| 亚洲国产精品尤物yw在线观看| 国产精品青草综合久久久久99| 日韩欧美一级精品久久| 日韩精品中文字幕在线不卡尤物| 精品无人区卡一卡二卡三乱码免费卡 | 久久久久久久久久美女| 精品视频全国免费看| 欧美视频日韩视频| 欧美色精品在线视频| 欧美日韩一区在线| 国内外成人在线| 丁香激情综合国产| 一本色道a无线码一区v| 欧美高清视频一二三区| 精品国产123| 国产精品久久久久久久久快鸭| 亚洲视频免费在线观看| 婷婷开心激情综合| 国产又黄又大久久| 成人免费毛片高清视频| 色哟哟一区二区在线观看| 精品污污网站免费看| 91精品在线一区二区| 国产校园另类小说区| 亚洲黄色录像片| 麻豆视频观看网址久久| 99久久综合国产精品| 欧美日韩一区二区在线观看 | 一区二区免费看| 日韩福利电影在线| 成人福利视频网站| 欧美三级乱人伦电影| 久久嫩草精品久久久久| 亚洲国产日日夜夜| 国产成人av自拍| 欧美精品色一区二区三区| 中文字幕av免费专区久久| 亚洲精品ww久久久久久p站| 久久国产人妖系列| 91蝌蚪porny九色| 精品久久久三级丝袜| 久久一区二区三区四区| 91在线观看高清| 亚洲综合在线第一页| 精品在线免费观看| 欧美日韩亚洲综合| 亚洲欧洲一区二区在线播放| 黑人精品欧美一区二区蜜桃 | 天堂蜜桃91精品| 9l国产精品久久久久麻豆| 欧美成人综合网站| 婷婷久久综合九色综合伊人色| 成人激情免费网站| 国产亚洲污的网站| 精品一区二区三区香蕉蜜桃| 欧美性xxxxxx少妇| 一区二区三区在线视频播放| 国产在线不卡视频| 欧美videossexotv100| 天堂精品中文字幕在线| 欧美午夜精品久久久| 亚洲欧美一区二区久久| heyzo一本久久综合| 久久精品一二三| 国模一区二区三区白浆| 亚洲精品一区二区三区蜜桃下载| 日韩中文字幕不卡| 91精品久久久久久久久99蜜臂| 一区二区久久久久久| 欧美综合久久久| 亚洲第一在线综合网站| 欧美日韩五月天| 日本视频在线一区| 欧美不卡一区二区三区四区| 久久电影网电视剧免费观看| 337p亚洲精品色噜噜噜| 青青草原综合久久大伊人精品优势| 欧美日韩一区成人| 亚洲一区二区三区四区在线观看| 六月丁香婷婷久久| 欧美日韩久久一区二区| 青青青爽久久午夜综合久久午夜| 91精品国产色综合久久不卡电影 | 国内精品免费在线观看| 国产日产欧美一区二区视频| 国产盗摄一区二区三区| 欧美大片在线观看| 七七婷婷婷婷精品国产| 777精品伊人久久久久大香线蕉| 免费在线观看精品| 国产无遮挡一区二区三区毛片日本| 久久se精品一区精品二区| 精品va天堂亚洲国产| 99麻豆久久久国产精品免费| 亚洲综合免费观看高清完整版在线 | 亚洲高清免费视频| 7777精品久久久大香线蕉 | 成人午夜电影网站| 亚洲成a人v欧美综合天堂| 日韩三级精品电影久久久 | 丝袜a∨在线一区二区三区不卡 | 国产精品久久久久9999吃药| 色婷婷久久久亚洲一区二区三区| 偷窥少妇高潮呻吟av久久免费| 精品少妇一区二区三区在线视频| 不卡一区二区中文字幕| 午夜电影久久久| 国产欧美视频在线观看| 欧美三级视频在线播放| 成人午夜电影网站| 奇米色777欧美一区二区| 亚洲色图视频网站| 日韩精品中文字幕一区二区三区| 成人h动漫精品| 天天综合网 天天综合色| 国产精品午夜电影| 欧美mv日韩mv国产网站app| av亚洲精华国产精华| 久久精品国产成人一区二区三区 | 免费亚洲电影在线| 久久精品人人爽人人爽| av在线免费不卡| 免费黄网站欧美| 一区二区三区精品在线| 亚洲国产精品v| 精品国产一区二区三区久久久蜜月| 青青草精品视频| 亚洲aaa精品| 一区二区日韩av| 亚洲乱码一区二区三区在线观看| 久久婷婷国产综合国色天香 | 精品一区二区综合| 亚洲国产精品久久不卡毛片| **欧美大码日韩| 中文在线免费一区三区高中清不卡| 欧美一区二区三区男人的天堂| 欧美在线高清视频| 色噜噜狠狠色综合欧洲selulu| 国产999精品久久久久久绿帽| 老司机午夜精品| 日韩二区三区四区| 亚洲国产精品一区二区www| 亚洲欧美影音先锋| 亚洲色图自拍偷拍美腿丝袜制服诱惑麻豆| 久久久久久久综合日本| 日韩免费视频一区二区| 日韩欧美在线不卡| 欧美xxxx老人做受| 日韩精品一区二区三区在线 | 不卡在线视频中文字幕| 黄一区二区三区| 久久狠狠亚洲综合| 精品一区二区免费在线观看| 婷婷夜色潮精品综合在线| 亚洲成人资源在线| 偷拍一区二区三区四区| 日本视频中文字幕一区二区三区| 视频在线观看一区二区三区| 亚洲精品成人a在线观看| 午夜欧美大尺度福利影院在线看| 亚洲成人7777| 亚洲一二三级电影| 亚洲国产aⅴ成人精品无吗| 午夜精品国产更新| 久久不见久久见中文字幕免费| 国产精品中文字幕日韩精品 | 七七婷婷婷婷精品国产| 国产精品一区二区免费不卡| 国产精品 欧美精品| 99精品国产99久久久久久白柏| 91麻豆国产在线观看| 欧美亚洲国产一区在线观看网站| 欧美一区二区三区在线视频| 精品日韩一区二区| 亚洲视频一区二区在线| 日产国产高清一区二区三区| 国产91精品久久久久久久网曝门| 99国产欧美久久久精品| 欧美高清激情brazzers| 久久久久久免费网| 亚洲午夜久久久久久久久电影院| 老司机午夜精品99久久| 成人精品在线视频观看| 欧美日本一道本在线视频| 久久久久久**毛片大全| 洋洋av久久久久久久一区| 免费观看在线综合| 91久久线看在观草草青青| 欧美精品一区二区三区四区 | 无码av免费一区二区三区试看| 精品一区二区综合| 91丨porny丨户外露出| 欧美大片国产精品|