Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/75.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript 添加更多可用的jquery ui主题,以便用户切换到使用cdn_Javascript_Jquery_Jquery Ui_Cdn_Jquery Ui Theme - Fatal编程技术网

Javascript 添加更多可用的jquery ui主题,以便用户切换到使用cdn

Javascript 添加更多可用的jquery ui主题,以便用户切换到使用cdn,javascript,jquery,jquery-ui,cdn,jquery-ui-theme,Javascript,Jquery,Jquery Ui,Cdn,Jquery Ui Theme,我的代码中有一个自定义主题切换器,可以正常工作,但当我在代码中使用的链接不是第一方jquery ui主题时,我的网页看起来不像第三方小组所宣传的,这可能意味着我可能遗漏了一些东西(我目前测试的主题是“北极”) 这就引出了我的问题: 哪些链接可能有效 还有,我该如何修改代码以修复某些链接无法工作的事实 var主题={ “北极”:http://cdn.wijmo.com/themes/arctic/jquery-wijmo.css“,//主题来自http://wijmo.com/theming

我的代码中有一个自定义主题切换器,可以正常工作,但当我在代码中使用的链接不是第一方jquery ui主题时,我的网页看起来不像第三方小组所宣传的,这可能意味着我可能遗漏了一些东西(我目前测试的主题是“北极”)

这就引出了我的问题:

  • 哪些链接可能有效
  • 还有,我该如何修改代码以修复某些链接无法工作的事实
var主题={
“北极”:http://cdn.wijmo.com/themes/arctic/jquery-wijmo.css“,//主题来自http://wijmo.com/theming/
“基础”:http://ajax.googleapis.com/ajax/libs/jqueryui/1.12.0/themes/base/jquery-ui.css",
“黑领带”:http://ajax.googleapis.com/ajax/libs/jqueryui/1.12.0/themes/black-tie/jquery-ui.css",
“闪电战”:http://ajax.googleapis.com/ajax/libs/jqueryui/1.12.0/themes/blitzer/jquery-ui.css",
“库珀蒂诺”:http://ajax.googleapis.com/ajax/libs/jqueryui/1.12.0/themes/cupertino/jquery-ui.css",
“黑暗蜂巢”:http://ajax.googleapis.com/ajax/libs/jqueryui/1.12.0/themes/dark-hive/jquery-ui.css",
“点luv”:http://ajax.googleapis.com/ajax/libs/jqueryui/1.12.0/themes/dot-luv/jquery-ui.css",
“茄子”:http://ajax.googleapis.com/ajax/libs/jqueryui/1.12.0/themes/eggplant/jquery-ui.css",
“激发自行车”:http://ajax.googleapis.com/ajax/libs/jqueryui/1.12.0/themes/excite-bike/jquery-ui.css",
“轻弹”:http://ajax.googleapis.com/ajax/libs/jqueryui/1.12.0/themes/flick/jquery-ui.css",
“热溜”:http://ajax.googleapis.com/ajax/libs/jqueryui/1.12.0/themes/hot-sneaks/jquery-ui.css",
“人性”:http://ajax.googleapis.com/ajax/libs/jqueryui/1.12.0/themes/humanity/jquery-ui.css",
“乐蛙”:http://ajax.googleapis.com/ajax/libs/jqueryui/1.12.0/themes/le-frog/jquery-ui.css",
“薄荷巧克力”:http://ajax.googleapis.com/ajax/libs/jqueryui/1.12.0/themes/mint-choc/jquery-ui.css",
“阴天”:http://ajax.googleapis.com/ajax/libs/jqueryui/1.12.0/themes/overcast/jquery-ui.css",
“胡椒研磨机”:http://ajax.googleapis.com/ajax/libs/jqueryui/1.12.0/themes/pepper-grinder/jquery-ui.css",
“雷蒙德”:http://ajax.googleapis.com/ajax/libs/jqueryui/1.12.0/themes/redmond/jquery-ui.css",
“平滑度”:http://ajax.googleapis.com/ajax/libs/jqueryui/1.12.0/themes/smoothness/jquery-ui.css",
“南街”:http://ajax.googleapis.com/ajax/libs/jqueryui/1.12.0/themes/south-street/jquery-ui.css",
“开始”:http://ajax.googleapis.com/ajax/libs/jqueryui/1.12.0/themes/start/jquery-ui.css",
“阳光”:http://ajax.googleapis.com/ajax/libs/jqueryui/1.12.0/themes/sunny/jquery-ui.css",
“时髦钱包”:http://ajax.googleapis.com/ajax/libs/jqueryui/1.12.0/themes/swanky-purse/jquery-ui.css",
“Trontastic”:http://ajax.googleapis.com/ajax/libs/jqueryui/1.12.0/themes/trontastic/jquery-ui.css",
“Ui黑暗”:http://ajax.googleapis.com/ajax/libs/jqueryui/1.12.0/themes/ui-darkness/jquery-ui.css",
“Ui亮度”:http://ajax.googleapis.com/ajax/libs/jqueryui/1.12.0/themes/ui-lightness/jquery-ui.css",
“维德”:http://ajax.googleapis.com/ajax/libs/jqueryui/1.12.0/themes/vader/jquery-ui.css",
}
$(函数(){
$(“:button”).button();
$(“body”).tooltip();
$(“.theme select”)。选择菜单({
更改:函数(){
//localStorage.style=$(this.val();
$(“#theme”).prop('disabled',true).prop('href',themes[$(this.val()).prop('disabled',false);
//$(“body”).css(“字体系列”,$(“:按钮”).css(“字体系列”);
},
});
/*if(!localStorage.style){
localStorage.style=“ui lightness”;
}否则{
$(“.theme select”).val(localStorage.style);
$(“#主题”).prop('disabled',true).remove();
$(“”)。附于(“标题”);
//$(“body”).css(“字体系列”,$(“:按钮”).css(“字体系列”);
//$(“.theme select ui selectmenu text”).text(localStorage.style);
$(“.theme select”)。选择菜单(“刷新”);
}*/
$(“.ui选择菜单按钮”)。单击(函数(){
$(“身体”)。设置动画({
scrollTop:“+=100px”,
}, 1000);
});//使网页滚动以显示打开的列表
$(“#白,#黑”)。单击(函数(){
//localStorage.background=$(this.attr(“id”);
$(“正文,#输出”).css({
“背景色”:$(this.attr(“id”),
“颜色”:($(this.attr(“id”)!=“白色”?“白色”:“黑色”)
});
});
/*如果(!localStorage.background){
localStorage.background=“白色”;
}否则{
$(“#”+localStorage.background).attr(“选中”,true).单击().parent()/.controlgroup(“刷新”);
}*/
$(“.group”).append(“”).controlgroup();
$(“.min工具”).bind(“单击”,函数(){
$(this).parent().find(“.min工具”).toggleClass(“ui角点全部”,900)//软化(或硬化)边
.sides().not(“.min tool,select”)//查找除我自己或具有相同类的工具或需要隐藏的对象之外的所有同级
.toggle(900);//并使用动画切换其可见性
});
$(“.x-tool”).bind(“单击”,函数(){
如果(!(确认(“是否确实要删除此小部件?\n\n隐藏目的:+$(this).parent().data(“目的”))返回;
$(this.parent().hide();
});
});


不喜欢网站的外观?请随意更改下面的主题!

北极的 基础 黑领带 闪电战 丘珀蒂诺 暗箱 点luv 茄子 刺激自行车 轻弹 热潜行 人性 乐蛙 薄荷巧克力 阴天 胡椒研磨机 雷德蒙 平滑度 南街 开始 晴朗的 时髦的钱包 天然气 Ui黑暗 Ui亮度 维德 白色 黑色

有关这些主题的更多信息,请访问 .


他们可能使用jQuery UI基本默认值和