modified some documents
This commit is contained in:
parent
c754410ac9
commit
4f52da54bd
@ -3,7 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0">
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0">
|
||||||
<title>{THIS IS TITLE}</title>
|
<title>STNodeEditor - API</title>
|
||||||
<link rel="stylesheet" type="text/css" href="./css/stdoc.css"/>
|
<link rel="stylesheet" type="text/css" href="./css/stdoc.css"/>
|
||||||
<script type="text/javascript" src="./js/jquery-1.10.2.min.js"></script>
|
<script type="text/javascript" src="./js/jquery-1.10.2.min.js"></script>
|
||||||
<script type="text/javascript" src="./js/stdoc.js"></script>
|
<script type="text/javascript" src="./js/stdoc.js"></script>
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
background-repeat:no-repeat;
|
background-repeat:no-repeat;
|
||||||
-webkit-font-smoothing:antialiased;
|
-webkit-font-smoothing:antialiased;
|
||||||
}
|
}
|
||||||
|
::-webkit-scrollbar { display: none; }
|
||||||
h1{
|
h1{
|
||||||
font-size:2.75rem;
|
font-size:2.75rem;
|
||||||
}
|
}
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
height: 30px;
|
height: 30px;
|
||||||
top: 5px;
|
top: 5px;
|
||||||
background-color: rgba(125,125,125,.8);
|
background-color: rgba(125,125,125,.8);
|
||||||
z-index: 1;
|
z-index: 100;
|
||||||
border-radius: 15px;
|
border-radius: 15px;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
opacity:0.6;
|
opacity:0.6;
|
||||||
@ -61,12 +61,12 @@
|
|||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
var e_l = $("#left"), e_r = $("#right");
|
var e_l = $("#left"), e_r = $("#right");
|
||||||
$("#a_btn_l").click(function(){
|
$("#a_btn_l").click(function(){
|
||||||
e_l.css({opacity:1,width:"100%"});
|
e_l.css({opacity:1,"z-index":10,width:"100%"});
|
||||||
e_r.css({opacity:0});
|
e_r.css({opacity:0,"z-index":0});
|
||||||
});
|
});
|
||||||
$("#a_btn_r").click(function(){
|
$("#a_btn_r").click(function(){
|
||||||
e_l.css({opacity:0});
|
e_l.css({opacity:0,"z-index":0});
|
||||||
e_r.css({opacity:1,left:0,width:"100%"});
|
e_r.css({opacity:1,"z-index":10,left:0,width:"100%"});
|
||||||
});
|
});
|
||||||
$("#a_btn_lr").click(function(){
|
$("#a_btn_lr").click(function(){
|
||||||
e_l.css({opacity:1,width:"50%"});
|
e_l.css({opacity:1,width:"50%"});
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
height: 30px;
|
height: 30px;
|
||||||
top: 5px;
|
top: 5px;
|
||||||
background-color: rgba(125,125,125,.8);
|
background-color: rgba(125,125,125,.8);
|
||||||
z-index: 1;
|
z-index: 100;
|
||||||
border-radius: 15px;
|
border-radius: 15px;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
opacity:0.6;
|
opacity:0.6;
|
||||||
@ -61,12 +61,12 @@
|
|||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
var e_l = $("#left"), e_r = $("#right");
|
var e_l = $("#left"), e_r = $("#right");
|
||||||
$("#a_btn_l").click(function(){
|
$("#a_btn_l").click(function(){
|
||||||
e_l.css({opacity:1,width:"100%"});
|
e_l.css({opacity:1,"z-index":10,width:"100%"});
|
||||||
e_r.css({opacity:0});
|
e_r.css({opacity:0,"z-index":0});
|
||||||
});
|
});
|
||||||
$("#a_btn_r").click(function(){
|
$("#a_btn_r").click(function(){
|
||||||
e_l.css({opacity:0});
|
e_l.css({opacity:0,"z-index":0});
|
||||||
e_r.css({opacity:1,left:0,width:"100%"});
|
e_r.css({opacity:1,"z-index":10,left:0,width:"100%"});
|
||||||
});
|
});
|
||||||
$("#a_btn_lr").click(function(){
|
$("#a_btn_lr").click(function(){
|
||||||
e_l.css({opacity:1,width:"50%"});
|
e_l.css({opacity:1,width:"50%"});
|
||||||
|
@ -25,14 +25,23 @@ $(document).ready(function(){
|
|||||||
|
|
||||||
$(document).on("touchstart","#div_left",function(e){});
|
$(document).on("touchstart","#div_left",function(e){});
|
||||||
|
|
||||||
if(navigator.userAgent.toLowerCase().indexOf('webkit') == -1){
|
var strUA = navigator.userAgent.toLowerCase();
|
||||||
console.log('what the fuck...!!!!!!');
|
if(strUA.indexOf('windows') != -1 && strUA.indexOf('webkit') == -1){
|
||||||
$('body').append("<div id='div_fuck_the_kernel'>"
|
//console.log('what the fuck...!!!!!!');
|
||||||
+ "都TM2021年了 Windows还在采用可视滚动条 然而只有WebKit提供了滚动条样式的支持"
|
//我是真没想到都2021年了 windows还在采用可视化滚动条
|
||||||
|
//而且还只有webkit内核提供了滚动条样式的支持
|
||||||
|
//我一直以为现在这个年代 滚动条基本都是隐藏式了的吧
|
||||||
|
//且不说windows 浏览器厂商就这么赤裸裸的使用系统原生滚动条真棒
|
||||||
|
//我不是吐槽没有解决方案 而是这种设计
|
||||||
|
//当发现问题后 我仅仅是想通过样式隐藏滚动条 而只有webkit能做到
|
||||||
|
//::-webkit-scrollbar { display: none; }
|
||||||
|
$('body').append(
|
||||||
|
"<div id='WO_TE_ME_DE_YE_HEN_JUE_WANG_A_CAO'>"
|
||||||
|
+ "老铁!用WebKit浏览器,不然滚动条太丑了,不想改页面了!<br/>"
|
||||||
|
+ "(Use the WebKit browser as much as possible!!)"
|
||||||
+ "</div>"
|
+ "</div>"
|
||||||
);
|
);
|
||||||
var e = $('#div_fuck_the_kernel');
|
$('#WO_TE_ME_DE_YE_HEN_JUE_WANG_A_CAO').css({
|
||||||
e.css({
|
|
||||||
position:"fixed",
|
position:"fixed",
|
||||||
top:0,
|
top:0,
|
||||||
left:0,
|
left:0,
|
||||||
@ -40,10 +49,10 @@ $(document).ready(function(){
|
|||||||
color:"white",
|
color:"white",
|
||||||
"line-height":"20px",
|
"line-height":"20px",
|
||||||
"text-align":"center",
|
"text-align":"center",
|
||||||
"background-color":"rgba(255,255,0,.5)",
|
"background-color":"rgba(255,255,0,.6)",
|
||||||
border:"solid 1px yellow",
|
border:"solid 1px yellow",
|
||||||
|
"text-shadow":"0px 1px 1px black",
|
||||||
"z-index":100
|
"z-index":100
|
||||||
});
|
}).click(function(){$(this).remove();});
|
||||||
e.click(function(){e.remove();});
|
|
||||||
}
|
}
|
||||||
});
|
});
|
Loading…
x
Reference in New Issue
Block a user