亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
日本成人在线视频网站| 欧美性极品少妇| 色综合久久99| 欧美美女直播网站| 国产欧美日韩久久| 日本不卡一区二区| 日本高清不卡在线观看| 久久久久综合网| 日韩av一区二区三区| 欧美放荡的少妇| 国产精品欧美经典| 另类小说综合欧美亚洲| 欧美裸体一区二区三区| 亚洲久草在线视频| av激情综合网| 国产精品高清亚洲| 国产福利精品导航| 国产婷婷色一区二区三区四区| 日韩国产精品大片| 欧美日韩视频在线第一区 | 亚洲狼人国产精品| 国产成人日日夜夜| 久久久久久久久蜜桃| 美国一区二区三区在线播放| 欧美精品自拍偷拍动漫精品| 亚洲最新视频在线观看| 99re视频精品| 国产精品二三区| 99久久国产综合色|国产精品| 久久一区二区视频| 国产精品一卡二卡在线观看| 91精品黄色片免费大全| 午夜国产不卡在线观看视频| 欧美主播一区二区三区美女| 亚洲精品伦理在线| 91福利精品视频| 亚洲在线成人精品| 欧美精品自拍偷拍动漫精品| 日韩和欧美一区二区| 日韩午夜激情视频| 久久精品国产精品亚洲精品| 欧美成人伊人久久综合网| 免费在线成人网| 精品国产一区二区三区四区四| 六月丁香婷婷久久| 国产无一区二区| 丁香婷婷深情五月亚洲| 亚洲人成网站在线| 精品1区2区3区| 九色综合国产一区二区三区| 国产亚洲综合av| 99精品桃花视频在线观看| 亚洲欧美一区二区三区极速播放 | 国产精品一区一区| 国产精品麻豆一区二区| 91福利视频久久久久| 日韩电影网1区2区| 亚洲国产精品影院| 欧美日韩免费电影| 狠狠色丁香九九婷婷综合五月| 国产精品色眯眯| 欧美四级电影在线观看| 精品在线免费视频| 综合分类小说区另类春色亚洲小说欧美| 欧美午夜不卡视频| 国产一区三区三区| 亚洲精品视频一区| 日韩精品一区二区三区蜜臀 | 国产精品美女久久久久久久网站| 99久久99精品久久久久久| 石原莉奈一区二区三区在线观看| 国产成人免费av在线| 综合欧美一区二区三区| 精品奇米国产一区二区三区| 国产成人在线网站| 性做久久久久久久免费看| 26uuu欧美| 精品视频一区二区不卡| 国产精品亚洲第一区在线暖暖韩国| 亚洲猫色日本管| 久久综合五月天婷婷伊人| 色吊一区二区三区| 国产91精品久久久久久久网曝门| 亚洲一区二区欧美| 欧美国产日韩a欧美在线观看| 欧美中文字幕亚洲一区二区va在线| 精品无人码麻豆乱码1区2区 | 亚洲一区二区三区四区在线观看 | 91视频com| 国产一区二区网址| 日本欧美在线看| 一级特黄大欧美久久久| 日本一二三不卡| 日韩欧美国产电影| 欧美美女网站色| 色婷婷亚洲婷婷| 99精品欧美一区| 国产.精品.日韩.另类.中文.在线.播放| 亚洲电影你懂得| 亚洲精品国产一区二区精华液| 国产欧美一区二区精品性色| 精品国产自在久精品国产| 欧美日韩国产综合久久| 色先锋aa成人| 一本大道久久精品懂色aⅴ| 成人精品免费网站| 丰满放荡岳乱妇91ww| 国产一区二区电影| 欧美性受xxxx黑人xyx性爽| 国产成人精品亚洲日本在线桃色| 久久国产精品99久久人人澡| 青青草国产精品97视觉盛宴| 婷婷综合在线观看| 亚洲电影一级黄| 天天综合色天天综合| 日韩影院精彩在线| 蜜桃视频在线观看一区| 蜜乳av一区二区三区| 美脚の诱脚舐め脚责91| 黄色资源网久久资源365| 精品中文字幕一区二区小辣椒 | 日韩欧美亚洲一区二区| 在线播放91灌醉迷j高跟美女| 欧美视频在线观看一区| 欧美日韩亚洲不卡| 91麻豆精品国产91久久久久久久久 | 成人免费毛片片v| 粉嫩高潮美女一区二区三区| 成人黄色av电影| 国产成人免费视频一区| 粉嫩av亚洲一区二区图片| av在线播放一区二区三区| 久久美女高清视频| 国产精品午夜在线观看| 亚洲日韩欧美一区二区在线| 一区二区三区四区精品在线视频| 亚洲精品国产成人久久av盗摄| 夜夜揉揉日日人人青青一国产精品| 亚洲一区二区中文在线| 秋霞电影网一区二区| 国产美女视频一区| 一本一道久久a久久精品| 欧美无乱码久久久免费午夜一区| 日韩欧美电影一二三| 2021久久国产精品不只是精品| 日韩一区在线看| 日韩中文字幕亚洲一区二区va在线 | 亚洲国产精品精华液2区45| 久久九九99视频| 亚洲综合色区另类av| 极品美女销魂一区二区三区免费 | 91麻豆高清视频| 91精品久久久久久久91蜜桃| 国产日本欧洲亚洲| 亚洲动漫第一页| 国产米奇在线777精品观看| 91片在线免费观看| 精品日韩一区二区三区| 亚洲欧洲日韩综合一区二区| 美女视频黄 久久| 91美女片黄在线观看91美女| 欧美一级视频精品观看| 中文字幕亚洲电影| 看电影不卡的网站| 色婷婷综合久色| 久久精品一区蜜桃臀影院| 丝袜亚洲另类欧美| 成人久久视频在线观看| 欧美v国产在线一区二区三区| 自拍偷自拍亚洲精品播放| 国产综合色在线| 91精品国产91久久综合桃花 | 国产清纯白嫩初高生在线观看91| 亚洲一区在线观看免费| 成人综合婷婷国产精品久久蜜臀 | 日本少妇一区二区| 91美女片黄在线观看91美女| 国产亚洲福利社区一区| 免费高清视频精品| 精品视频1区2区3区| 亚洲理论在线观看| 99热国产精品| 欧美激情在线观看视频免费| 久久精品噜噜噜成人av农村| 欧美日韩1234| 午夜亚洲福利老司机| 5566中文字幕一区二区电影 | 青草国产精品久久久久久| 在线欧美一区二区| 一区二区三区在线视频播放| 99久久国产综合精品色伊| 中文字幕av一区二区三区免费看| 激情综合网天天干| 欧美成人官网二区| 日韩成人免费看| 精品久久久久久最新网址| 麻豆精品在线看| 久久人人爽人人爽| 床上的激情91.| 国产精品日日摸夜夜摸av|