|
|
|
@ -8,19 +8,33 @@
|
|
|
|
|
<link rel="stylesheet" href="/uwebzh/style.css" type="text/css" />
|
|
|
|
|
<title></title>
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
function nav2(page){
|
|
|
|
|
function findLang(){
|
|
|
|
|
let href = location.href;
|
|
|
|
|
for(let i=href.length-1;i>0;i--){
|
|
|
|
|
if('/'==href.charAt(i) && '/'==href.charAt(i-3))
|
|
|
|
|
location.href = href.substring(0,i+1)+page;
|
|
|
|
|
return i;
|
|
|
|
|
}
|
|
|
|
|
return false;
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
function nav2(page){
|
|
|
|
|
let i = findLang();
|
|
|
|
|
location.href = location.href.substring(0,i+1)+page;
|
|
|
|
|
}
|
|
|
|
|
function nav2Lang(lang){
|
|
|
|
|
let i = findLang();
|
|
|
|
|
let href = location.href;
|
|
|
|
|
location.href = location.href.substring(0,i-2)+lang+location.href.substring(i);
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
<header class='header'>
|
|
|
|
|
<a class="logo" href="javascript:void(0)" onclick="return nav2('index.html')">Home</a> <a class="logo" href="javascript:void(0)" onclick="return nav2('tags/index.html')">Tags</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a class="logo" href="javascript:void(0)" onclick="return nav2Lang('zh')">简体中文</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<nav>
|
|
|
|
|
</nav>
|
|
|
|
|
</header>
|
|
|
|
@ -29,11 +43,6 @@
|
|
|
|
|
|
|
|
|
|
<ul class="posts">
|
|
|
|
|
|
|
|
|
|
<li class="post">
|
|
|
|
|
<a href="../zh/index.html">
|
|
|
|
|
<span>中文</span>
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="post">
|
|
|
|
|
<a href="https://s1.asytech.cn/s/tQrgT5kBRg8Trry">
|
|
|
|
|
<span>Download the uweb browser</span>
|
|
|
|
|