diff --git a/Multiblocks webpage template.min.xhtml b/Multiblocks webpage template.min.xhtml index 831d15ae5e1429f62b36157ebe15637909156d60..baf9d900c5796a636cd1cbc240bac72434aa2f9f 100644 --- a/Multiblocks webpage template.min.xhtml +++ b/Multiblocks webpage template.min.xhtml @@ -1,4 +1,4 @@ -Multiblocks Webpage

Page script is disabled! Please enable page script and refresh the page.

页面脚本被禁用!请启用页面脚本并刷新网页。

Jump to page: 跳转至页码:
+Multiblocks Webpage

Page script is disabled! Please enable page script and refresh the page.

页面脚本被禁用!请启用页面脚本并刷新网页。

Jump to page: 跳转至页码:
@@ -13,15 +13,19 @@

Page 1

+

Page 2

+

Page 3

+

Page 4

+

Page 5

@@ -36,4 +40,4 @@ -
Jump to page: 跳转至页码:
Navigate with keyboard
使用键盘进行导航
Use keyboard navigation?
使用键盘导航?
 yes 
Previous key released:
之前松开的按键:
Key instructions
按键说明
Key
按键
Operation
操作
Left arrow
左箭头
Switch to previous page
切换到上一页
Right arrow
右箭头
Switch to next page
切换到下一页
Enter
回车
Return to first page
回到第一页
Navigate with gamepad
使用手柄进行导航
Does my browser support "Gamepad" interface?
我的浏览器支持接口“Gamepad”吗?
Gamepad button instructions
手柄按键说明
Number
编号
Name
名称
Operation
操作
Settings
设置
0A (Xbox)
× (PlayStation 4)
B (Nintendo Switch)
Return to first page
回到第一页
2X (Xbox)
□ (PlayStation 4)
Y (Nintendo Switch)
Hold this button, and left joystick can control scrolling of current page.
按住这个键,左摇杆就可以控制页面滚动。
9START (Xbox)
OPTIONS (PlayStation 4)
+ (Nintendo Switch)
Scroll to top of current page
滚动至本页面顶端
8BACK (Xbox)
SHARE (PlayStation 4)
- (Nintendo Switch)
Scroll to bottom of current page
滚动至本页面底端
14DPad left (Xbox, PlayStation 4, Nintendo Switch)Switch to previous page
切换到上一页
Listen interval:
监听间隔:

millisecond(s)
毫秒
15DPad right (Xbox, PlayStation 4, Nintendo Switch)Switch to next page
切换到下一页
Listen interval:
监听间隔:

millisecond(s)
毫秒
Gamepad joystick instructions
手柄摇杆说明
Name
名称
Operation
操作
Settings
设置
Left joystick
左摇杆
When button 2 is held, rotate this joystick to scroll the current page.
当按键2被按下时,转动该摇杆以滚动当前页面。
Sensitivity:
灵敏度:
Right joystick
右摇杆
Rotate this joystick to scroll the current page.
转动此摇杆以滚动当前页面。
Sensitivity:
灵敏度:
Animation frame: 

The "KeyboardEvent" interface is used in compliance with UI Events W3C Working Draft, 16 September 2021
The "Gamepad" interface is used in compliance with Gamepad W3C Working Draft 05 August 2021
Licensed under: Apache License, Version 2.0, January 2004
+
Jump to page: 跳转至页码:
Navigate with keyboard
使用键盘进行导航
Use keyboard navigation?
使用键盘导航?
 yes 
Previous key released:
之前松开的按键:
Key instructions
按键说明
Key
按键
Operation
操作
Left arrow
左箭头
Switch to previous page
切换到上一页
Right arrow
右箭头
Switch to next page
切换到下一页
Enter
回车
Return to first page
回到第一页
Navigate with gamepad
使用手柄进行导航
Does my browser support "Gamepad" interface?
我的浏览器支持接口“Gamepad”吗?
Gamepad button instructions
手柄按键说明
Number
编号
Name
名称
Operation
操作
Settings
设置
0A (Xbox)
× (PlayStation 4)
B (Nintendo Switch)
Return to first page
回到第一页
2X (Xbox)
□ (PlayStation 4)
Y (Nintendo Switch)
Hold this button, and left joystick can control scrolling of current page.
按住这个键,左摇杆就可以控制页面滚动。
4LB (Xbox)
L1 (PlayStation 4)
L (Nintendo Switch)
Scroll to top of current page
滚动至本页面顶端
5RB (Xbox)
R1 (PlayStation 4)
R (Nintendo Switch)
Scroll to bottom of current page
滚动至本页面底端
14DPad left (Xbox, PlayStation 4, Nintendo Switch)Switch to previous page
切换到上一页
Listen interval:
监听间隔:

millisecond(s)
毫秒
15DPad right (Xbox, PlayStation 4, Nintendo Switch)Switch to next page
切换到下一页
Listen interval:
监听间隔:

millisecond(s)
毫秒
Gamepad joystick instructions
手柄摇杆说明
Name
名称
Operation
操作
Settings
设置
Left joystick
左摇杆
When button 2 is held, rotate this joystick to scroll the current page.
当按键2被按下时,转动该摇杆以滚动当前页面。
Sensitivity:
灵敏度:
Animation frame: 
IndexNameConnectedTimestamp
0
1
2
3

The "KeyboardEvent" interface is used in compliance with UI Events W3C Working Draft, 15 October 2021
The "Gamepad" interface is used in compliance with Gamepad W3C Working Draft 05 August 2021
Licensed under: Apache License, Version 2.0, January 2004
diff --git a/Multiblocks webpage template.xhtml b/Multiblocks webpage template.xhtml index 4bf94ceaf55dca6e2bf52bc53533e7ae71dbeb2f..c893c2e9db2f523eb4c9d2ae68c2994c3c59e9e3 100644 --- a/Multiblocks webpage template.xhtml +++ b/Multiblocks webpage template.xhtml @@ -15,7 +15,7 @@ |||| See the License for the specific language governing permissions and |||| limitations under the License. |--> - +
- +
Jump to page: 跳转至页码: @@ -706,7 +918,7 @@ this.Document.prototype.querySelector.call(this.document,".NoScript").style.disp
- +
Jump to page: 跳转至页码: @@ -743,7 +955,8 @@ this.Document.prototype.querySelector.call(this.document,".NoScript").style.disp /**/ /**/ /**/ RangeIntegerProto=RangeInteger.prototype; /**/ /**/ var Array_Push=ArrProto.push, /**/ /**/ /**/ RoundInteger=RangeIntegerProto.RoundInteger, -/**/ /**/ /**/ XMLInnerText=Bright0.XMLInnerText; +/**/ /**/ /**/ XMLInnerText=Bright0.XMLInnerText, +/**/ /**/ /**/ XMLCreateTag=Bright0.XMLCreateTag; /**/ /**/ var PagesArray=SQSA(".Page"), /**/ /**/ /**/ PreviousPageButton1=SQS("#ControlPreviousPage1"), /**/ /**/ /**/ NextPageButton1=SQS("#ControlNextPage1"), @@ -755,6 +968,14 @@ this.Document.prototype.querySelector.call(this.document,".NoScript").style.disp /**/ /**/ /**/ JumpToPageConfirm1=SQS("#JumpToPageConfirm1"), /**/ /**/ /**/ JumpToPageField2=SQS("#JumpToPageField2"), /**/ /**/ /**/ JumpToPageConfirm2=SQS("#JumpToPageConfirm2"); +/**/ /**/ var EnLangAttributes={"lang":"en"}, +/**/ /**/ /**/ ZhLangAttributes={"lang":"zh"}; +/**/ /**/ var EnLangSpan=function(Q){ +/**/ /**/ /**/ return XMLCreateTag("span",EnLangAttributes,Q); +/**/ /**/ }; +/**/ /**/ var ZhLangSpan=function(H){ +/**/ /**/ /**/ return XMLCreateTag("span",ZhLangAttributes,H); +/**/ /**/ }; /**/ /**/ var PagesCSS2Array=[]; /**/ /**/ for(I in PagesArray){ /**/ /**/ /**/ J=PagesArray[I]; @@ -781,7 +1002,17 @@ this.Document.prototype.querySelector.call(this.document,".NoScript").style.disp /**/ /**/ /**/ /**/ J=PagesCSS2Array[I]; /**/ /**/ /**/ /**/ J.display=Counter+""===I?"":"none"; /**/ /**/ /**/ } -/**/ /**/ /**/ PageIndicatorSpan1.innerHTML=PageIndicatorSpan2.innerHTML=XMLInnerText("Current page: \u5F53\u524D\u9875\u7801\uFF1A"+(Counter+1)+" / "+TotalPages+" (controlled by buttons)\uFF08\u6309\u94AE\u63A7\u5236\uFF09"); +/**/ /**/ /**/ J=( +/**/ /**/ /**/ /**/ EnLangSpan("Current page: ") +/**/ /**/ /**/ /**/ +ZhLangSpan("\u5F53\u524D\u9875\u7801\uFF1A") +/**/ /**/ /**/ /**/ +EnLangSpan(Counter+1) +/**/ /**/ /**/ /**/ +EnLangSpan(" / ") +/**/ /**/ /**/ /**/ +EnLangSpan(TotalPages) +/**/ /**/ /**/ /**/ +EnLangSpan(" (controlled by buttons)") +/**/ /**/ /**/ /**/ +ZhLangSpan("\uFF08\u6309\u94AE\u63A7\u5236\uFF09") +/**/ /**/ /**/ ); +/**/ /**/ /**/ PageIndicatorSpan1.innerHTML=J, +/**/ /**/ /**/ PageIndicatorSpan2.innerHTML=J; /**/ /**/ /**/ I=J=null; /**/ /**/ /**/ return; /**/ /**/ }; @@ -807,7 +1038,17 @@ this.Document.prototype.querySelector.call(this.document,".NoScript").style.disp /**/ /**/ /**/ } /**/ /**/ /**/ K=Counter+1; /**/ /**/ /**/ JumpToPageField1.value=JumpToPageField2.value=K; -/**/ /**/ /**/ PageIndicatorSpan1.innerHTML=PageIndicatorSpan2.innerHTML=XMLInnerText("Current page: \u5F53\u524D\u9875\u7801\uFF1A"+K+" / "+TotalPages+" (navigated to assigned page)\uFF08\u5BFC\u5411\u6307\u5B9A\u9875\u7801\uFF09"); +/**/ /**/ /**/ J=( +/**/ /**/ /**/ /**/ EnLangSpan("Current page: ") +/**/ /**/ /**/ /**/ +ZhLangSpan("\u5F53\u524D\u9875\u7801\uFF1A") +/**/ /**/ /**/ /**/ +EnLangSpan(K) +/**/ /**/ /**/ /**/ +EnLangSpan(" / ") +/**/ /**/ /**/ /**/ +EnLangSpan(TotalPages) +/**/ /**/ /**/ /**/ +EnLangSpan(" (navigated to assigned page)") +/**/ /**/ /**/ /**/ +ZhLangSpan("\uFF08\u5BFC\u5411\u6307\u5B9A\u9875\u7801\uFF09") +/**/ /**/ /**/ ); +/**/ /**/ /**/ PageIndicatorSpan1.innerHTML=J, +/**/ /**/ /**/ PageIndicatorSpan2.innerHTML=J; /**/ /**/ /**/ I=J=K=null; /**/ /**/ /**/ return; /**/ /**/ }; @@ -818,8 +1059,14 @@ this.Document.prototype.querySelector.call(this.document,".NoScript").style.disp /**/ /**/ /**/ J=PagesCSS2Array[I]; /**/ /**/ /**/ J.display=I==="0"?"":"none"; /**/ /**/ } -/**/ /**/ JumpToPageField1.value=JumpToPageField2.value=""; -/**/ /**/ PageIndicatorSpan1.innerHTML=PageIndicatorSpan2.innerHTML=XMLInnerText("Total page(s): \u603B\u9875\u7801\u6570\uFF1A"+TotalPages); +/**/ /**/ JumpToPageField1.value="",JumpToPageField2.value=""; +/**/ /**/ J=( +/**/ /**/ /**/ EnLangSpan("Total page(s): ") +/**/ /**/ /**/ +ZhLangSpan("\u603B\u9875\u7801\u6570\uFF1A") +/**/ /**/ /**/ +EnLangSpan(TotalPages) +/**/ /**/ ); +/**/ /**/ PageIndicatorSpan1.innerHTML=J, +/**/ /**/ PageIndicatorSpan2.innerHTML=J; /**/ /**/ I=J=null; /**/ /**/ return; /**/ } @@ -938,7 +1185,8 @@ this.Document.prototype.querySelector.call(this.document,".NoScript").style.disp /**/ /**/ /**/ RangeIntegerProto=RangeInteger.prototype; /**/ /**/ var Array_Push=ArrProto.push, /**/ /**/ /**/ RoundInteger=RangeIntegerProto.RoundInteger, -/**/ /**/ /**/ XMLInnerText=Bright0.XMLInnerText; +/**/ /**/ /**/ XMLInnerText=Bright0.XMLInnerText, +/**/ /**/ /**/ XMLCreateTag=Bright0.XMLCreateTag; /**/ /**/ var PagesArray=SQSA(".Page"), /**/ /**/ /**/ PageIndicatorSpan1=SQS("#PageIndicator1"), /**/ /**/ /**/ PageIndicatorSpan2=SQS("#PageIndicator2"), @@ -946,6 +1194,14 @@ this.Document.prototype.querySelector.call(this.document,".NoScript").style.disp /**/ /**/ /**/ JumpToPageField2=SQS("#JumpToPageField2"), /**/ /**/ /**/ PreviousKeyReleasedDOM=SQS("#PreviousKeyReleased"), /**/ /**/ /**/ KeyboardProcessSwitchDOM=SQS("#KeyboardProcessSwitch"); +/**/ /**/ var EnLangAttributes={"lang":"en"}, +/**/ /**/ /**/ ZhLangAttributes={"lang":"zh"}; +/**/ /**/ var EnLangSpan=function(Q){ +/**/ /**/ /**/ return XMLCreateTag("span",EnLangAttributes,Q); +/**/ /**/ }; +/**/ /**/ var ZhLangSpan=function(H){ +/**/ /**/ /**/ return XMLCreateTag("span",ZhLangAttributes,H); +/**/ /**/ }; /**/ /**/ var PreviousKeyboardEvent; /**/ /**/ var PagesCSS2Array=[]; /**/ /**/ for(I in PagesArray){ @@ -966,7 +1222,17 @@ this.Document.prototype.querySelector.call(this.document,".NoScript").style.disp /**/ /**/ /**/ /**/ J=PagesCSS2Array[I]; /**/ /**/ /**/ /**/ J.display=Counter+""===I?"":"none"; /**/ /**/ /**/ } -/**/ /**/ /**/ PageIndicatorSpan1.innerHTML=PageIndicatorSpan2.innerHTML=XMLInnerText("Current page: \u5F53\u524D\u9875\u7801\uFF1A"+(Counter+1)+" / "+TotalPages+" (controlled by keyboard)\uFF08\u952E\u76D8\u63A7\u5236\uFF09"); +/**/ /**/ /**/ J=( +/**/ /**/ /**/ /**/ EnLangSpan("Current page: ") +/**/ /**/ /**/ /**/ +ZhLangSpan("\u5F53\u524D\u9875\u7801\uFF1A") +/**/ /**/ /**/ /**/ +EnLangSpan(Counter+1) +/**/ /**/ /**/ /**/ +EnLangSpan(" / ") +/**/ /**/ /**/ /**/ +EnLangSpan(TotalPages) +/**/ /**/ /**/ /**/ +EnLangSpan(" (controlled by keyboard)") +/**/ /**/ /**/ /**/ +ZhLangSpan("\uFF08\u952E\u76D8\u63A7\u5236\uFF09") +/**/ /**/ /**/ ); +/**/ /**/ /**/ PageIndicatorSpan1.innerHTML=J, +/**/ /**/ /**/ PageIndicatorSpan2.innerHTML=J; /**/ /**/ /**/ I=J=null; /**/ /**/ /**/ return; /**/ /**/ }; @@ -977,8 +1243,16 @@ this.Document.prototype.querySelector.call(this.document,".NoScript").style.disp /**/ /**/ /**/ /**/ J.display=I==="0"?"":"none"; /**/ /**/ /**/ } /**/ /**/ /**/ Counter=0; -/**/ /**/ /**/ JumpToPageField1.value=JumpToPageField2.value=""; -/**/ /**/ /**/ PageIndicatorSpan1.innerHTML=PageIndicatorSpan2.innerHTML=XMLInnerText("Total page(s): \u603B\u9875\u7801\u6570\uFF1A"+TotalPages+" (controlled by keyboard)\uFF08\u952E\u76D8\u63A7\u5236\uFF09"); +/**/ /**/ /**/ JumpToPageField1.value="",JumpToPageField2.value=""; +/**/ /**/ /**/ J=( +/**/ /**/ /**/ /**/ EnLangSpan("Total page(s): ") +/**/ /**/ /**/ /**/ +ZhLangSpan("\u603B\u9875\u7801\u6570\uFF1A") +/**/ /**/ /**/ /**/ +EnLangSpan(TotalPages) +/**/ /**/ /**/ /**/ +EnLangSpan(" (controlled by keyboard)") +/**/ /**/ /**/ /**/ +ZhLangSpan("\uFF08\u952E\u76D8\u63A7\u5236\uFF09") +/**/ /**/ /**/ ); +/**/ /**/ /**/ PageIndicatorSpan1.innerHTML=J, +/**/ /**/ /**/ PageIndicatorSpan2.innerHTML=J; /**/ /**/ /**/ I=J=null; /**/ /**/ /**/ return; /**/ /**/ }; @@ -1026,7 +1300,7 @@ this.Document.prototype.querySelector.call(this.document,".NoScript").style.disp
我的浏览器支持接口“Gamepad”吗?
- +
@@ -1097,14 +1371,14 @@ this.Document.prototype.querySelector.call(this.document,".NoScript").style.disp -9 +4 -START (Xbox) +LB (Xbox)
-OPTIONS (PlayStation 4) +L1 (PlayStation 4)
-+ (Nintendo Switch) +L (Nintendo Switch) Scroll to top of current page @@ -1115,14 +1389,14 @@ this.Document.prototype.querySelector.call(this.document,".NoScript").style.disp -8 +5 -BACK (Xbox) +RB (Xbox)
-SHARE (PlayStation 4) +R1 (PlayStation 4)
-- (Nintendo Switch) +R (Nintendo Switch) Scroll to bottom of current page @@ -1148,7 +1422,7 @@ this.Document.prototype.querySelector.call(this.document,".NoScript").style.disp
监听间隔:
- +
millisecond(s)
@@ -1172,7 +1446,7 @@ this.Document.prototype.querySelector.call(this.document,".NoScript").style.disp
监听间隔:
- +
millisecond(s)
@@ -1223,62 +1497,142 @@ this.Document.prototype.querySelector.call(this.document,".NoScript").style.disp
灵敏度:
- + + + +
+
+Animation frame:  +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
-Right joystick -
-右摇杆 +Index
-Rotate this joystick to scroll the current page. -
-转动此摇杆以滚动当前页面。 +Name
-Sensitivity: -
-灵敏度: -
- +Connected +
+Timestamp +
+0 + + + +
+
+ +
+1 + + + +
+
+ +
+2 + + + +
+
+ +
+3 + + + +
+
+
-
-Animation frame:  -