mirror of
https://github.com/gnh1201/welsonjs.git
synced 2024-10-04 15:11:54 +00:00
57 lines
1.9 KiB
HTML
57 lines
1.9 KiB
HTML
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<!--
|
|
@tag hta:application
|
|
|
|
@attribute ApplicationName Sets the name of the HTA.
|
|
|
|
@attribute Border [Thick]|Thin|None
|
|
@attribute BorderStyle [Normal]|Raised|Sunken|Complex|Static
|
|
@attribute Caption [Yes]|No
|
|
@attribute ContextMenu [Yes]|No
|
|
@attribute Icon Path/To/Icon.ico
|
|
@attribute MaximizeButton [Yes]|No
|
|
@attribute MinimizeButton [Yes]|No
|
|
@attribute Navigable [Yes]|No
|
|
@attribute Scroll [Auto]|Yes|No
|
|
@attribute Selection [Yes]|No
|
|
@attribute ShowInTaskbar [Yes]|No
|
|
@attribute SingleInstance [Yes]|No
|
|
@attribute SysMenu [Yes]|No (Setting to No will remove close button)
|
|
@attribute WindowsState [Normal]|Minimize|Maximize
|
|
-->
|
|
<hta:application
|
|
ApplicationName="Application Name"
|
|
Border="Thin"
|
|
BorderStyle="Static"
|
|
Caption="Yes"
|
|
ContextMenu="No"
|
|
MaximizeButton="No"
|
|
MinimizeButton="No"
|
|
Navigable="No"
|
|
Scroll="No"
|
|
Selection="No"
|
|
ShowInTaskbar="Yes"
|
|
SingleInstance="Yes"
|
|
SysMenu="Yes"
|
|
WindowState="Normal"
|
|
/>
|
|
<title>Application Title</title>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
|
<style type="text/css">
|
|
body {
|
|
font-size: 11pt;
|
|
font-family: "Segoe UI", Calibri, Arial, Sans-Serif;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<p><a id="click1" href="#click1">Hello world!</a></p>
|
|
<script type="text/javascript" src="app.js"></script>
|
|
<script type="text/javascript">
|
|
window.resizeTo(400, 300);
|
|
init_window("app/index");
|
|
</script>
|
|
</body>
|
|
</html>
|