splashscreen.xml
来自「在流览器上仿CS界面的JAVASCRIPT脚本」· XML 代码 · 共 35 行
XML
35 行
<application> <window caption="Splash Screen Test" width="600" height="480"/> <splashScreen style="height: 110px; width: 200px; border: 10px solid navy; color: navy; background: white;"> <html style="width: 160px; left: 10px; top: 10px; "><h1 style="margin: 0; font-size: 25px;">Hello World</h1></html> <statusText style="width: 160px; color: navy; left: 10px; top: 45px;"/> <progressBar style="width: 160px; border: 1px solid navy; left: 10px; top: 60px; "/> </splashScreen> <!-- just status text and progress bar You can also hide sections using display: none <splashScreen style="height: 50px; width: 50%; border: 0; color: WindowText; background: transparent;"> <html/> <statusText style="width: 100%; color: WindowText; left: 0; top: 0;"/> <progressBar style="width: 100%; left: 0px; top: 15px; "/> </splashScreen> --> <resources> <script><![CDATA[function SplashScreen() {}SplashScreen.main = function () { new SplashScreen; };// we want to raise an error here to keep the splash visiblethrow "Intentional error"; ]]></script> </resources></application>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?