WebContent/jquery-easyui-1.3.3/plugins/jquery.combobox.js
(开头部分) 8KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
/**
* jQuery EasyUI 1.3.3
*
* Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved.
*
* Licensed under the GPL or commercial licenses
* To use it on other terms please contact us: info@jeasyui.com
* http://www.gnu.org/licenses/gpl.txt
* http://www.jeasyui.com/license_commercial.php
*
*/
(function($){
function _1(_2,_3,_4){
for(var i=0;i<_2.length;i++){
var _5=_2[i];
if(_5[_3]==_4){
return _5;
}
}
return null;
};
function _6(_7,_8){
var _9=$(_7).combo("panel");
var _a=_9.find("div.combobox-item[value=\""+_8+"\"]");
if(_a.length){
if(_a.position().top<=0){
var h=_9.scrollTop()+_a.position().top;
_9.scrollTop(h);
}else{
if(_a.position().top+_a.outerHeight()>_9.height()){
var h=_9.scrollTop()+_a.position().top+_a.outerHeight()-_9.height();
_9.scrollTop(h);
}
}
}
};
function _b(_c,_d){
var _e=$(_c).combobox("options");
var _f=$(_c).combobox("panel");
var _10=_f.children("div.combobox-item-hover");
if(!_10.length){
_10=_f.children("div.combobox-item-selected");
}
_10.removeClass("combobox-item-hover");
if(!_10.length){
_10=_f.children("div.combobox-item:visible:"+(_d=="next"?"first":"last"));
}else{
if(_d=="next"){
_10=_10.nextAll(":visible:first");
if(!_10.length){
_10=_f.children("div.combobox-item:visible:first");
}
}else{
_10=_10.prevAll(":visible:first");
if(!_10.length){
_10=_f.children("div.combobox-item:visible:last");
}
}
}
if(_10.length){
后面还有 330 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
