?? testlauncher.html
字號:
<!-- back compat --><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html><head><title>Launcher</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><style type="text/css">body, html { border: 0; background: ThreeDFace; overflow: auto;}button { width: 100px;}input, select { width: 200px;}body, td { font: Message-Box;}fieldset { padding: 5px;}:link:visited { color: blue;}:link:hover { color: Highlight;}.list div { padding: 1px 5px;}.list { border: 1px solid ThreeDShadow; padding: 1px; margin: 5px; background: Window; color: WindowText; height: 200px; overflow: auto;}</style><script type="text/javascript" src="../html/js/bilauncher.js"></script><script type="text/javascript">/* * This script block is only here to support the argument form. Do not * include this in your page. */function addArgument() { var inp = document.getElementById("argValue"); var s = inp.value; s = s.replace(/(^\s+)|(\s+$)/g, ""); if (s != "") { var opt = document.createElement("OPTION"); opt.text = opt.innerText = s; document.getElementById("argList").appendChild(opt); inp.value = ""; }}function removeArgument() { var list = document.getElementById("argList"); if (list.selectedIndex != -1) list.removeChild(list.options[list.selectedIndex]);}function launch() { var app = document.getElementById("appClass").value; var list = document.getElementById("argList"); var args = []; for (var i = 0; i < list.options.length; i++) args[i] = list.options[i].text; var allArgs = ["../html", app, false].concat(args); biExec.apply(null, allArgs);}</script></head><body><fieldset><legend>Run a predefined application</legend><div class="list"> <div> <a href="#" onclick="biExec('../html', 'ArgumentTest.xml', false, 0, 'one', true); return false;">ArgumentTest</a> - Application for testing argument support </div> <div> <a href="#" onclick="biExec('../html', 'GridTest.xml', true); return false;">GridTest</a> - Simple grid test application that opens in this window. </div> <div> <a href="#" onclick="biExec('../html', 'ChartTest5.xml'); return false;">ChartTest5</a> - A chart test application that show the different chart types </div> <div> <a href="#" onclick="biExec('../html', 'WindowTest3.xml'); return false;">WindowTest3</a> - A test of the windows and the windows manager </div> </div></fieldset><form action="#" name="customAppFor" onsubmit="launch(); return false"><fieldset><legend>or enter the ADF file and arguments below</legend><table summary="Application name and arguments"> <tr> <td><label for="appClass">Application Name:</label></td> <td><input id="appClass" type="text" name="appClass"></td> <td><button type="submit">Launch</button></td> </tr> <tr> <td colspan="3"><hr></td> </tr> <tr> <td><label for="argValue">Arguments:</label></td> <td><input id="argValue" type="text"></td> <td></td> </tr> <tr> <td></td> <td><button onclick="addArgument()">Add</button> <button onclick="removeArgument()">Remove</button></td> <td></td> </tr> <tr> <td></td> <td><select id="argList" size="5"></select></td> <td></td> </tr></table></fieldset></form><script type="text/javascript">/* * This script block is only here to add tooltips to the links. Do not * include this in your page. */var links = document.links;var l = links.length;var s;for (var i = 0; i < l; i++) { s = String(links[i].onclick); s = s.replace(/(^function anonymous\(\)\n)|(^{\n)|(\n}$)/gim, ""); links[i].title = s;}</script></body></html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -