testMaven/WebRoot/resource/js/pintuer.js
(开头部分) 16KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
$(function(){
$(".win-homepage").click(function(){
if(document.all){
document.body.style.behavior = 'url(#default#homepage)';
document.body.setHomePage(document.URL);
}else{alert("设置首页失败,请手动设置!");}
});
$(".win-favorite").click(function(){
var sURL=document.URL;
var sTitle=document.title;
try {window.external.addFavorite(sURL, sTitle);}
catch(e){
try{window.sidebar.addPanel(sTitle, sURL, "");}
catch(e){alert("加入收藏失败,请使用Ctrl+D进行添加");}
}
});
$(".win-forward").click(function(){
window.history.forward(1);
});
$(".win-back").click(function(){
window.history.back(-1);
});
$(".win-backtop").click(function(){$('body,html').animate({scrollTop:0},1000);return false;});
$(".win-refresh").click(function(){
window.location.reload();
});
$(".win-print").click(function(){
window.print();
});
$(".win-close").click(function(){
window.close();
});
$('.checkall').click(function(){
var e=$(this);
var name=e.attr("name");
var checkfor=e.attr("checkfor");
var type;
if (checkfor!='' && checkfor!=null && checkfor!=undefined){
type=e.closest('form').find("input[name='"+checkfor+"']");
}else{
type=e.closest('form').find("input[type='checkbox']");
};
if (name=="checkall"){
$(type).each(function(index, element){
element.checked=true;
});
e.attr("name","ok");
}else{
$(type).each(function(index, element){
element.checked=false;
});
e.attr("name","checkall");
}
});
$('.dropdown-toggle').click(function(){
$(this).closest('.button-group, .drop').addClass("open");
});
$(document).bind("click",function(e){
if($(e.target).closest(".button-group.open, .drop.open").length == 0){
$(".button-group, .drop").removeClass("open");
后面还有 443 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
