-
Notifications
You must be signed in to change notification settings - Fork 1
/
h.html
152 lines (131 loc) · 4.06 KB
/
h.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
<html>
<head>
<meta name="viewport" content="width=18 , initial-scale=1">
<meta name="viewport" content="height=800, initial-scale=1">
<style>
a {
text-align: center;
}
.vertical-menu {
width: 480px;
/* Set a width if you like */
}
.vertical-menu a {
background-color: #eee;
/* Grey background color */
color: black;
/* Black text color */
display: block;
/* Make the links appear below each other */
padding: 12px;
/* Add some padding */
text-decoration: none;
/* Remove underline from links */
}
body {
max-width: 400px;
max-height: 10px;
resize: none;
}
.vertical-menu a:hover {
background-color: #ccc;
resize: none;
/* Dark grey background on mouse-over */
}
.vertical-menu a.active {
background-color: #4CAF50;
/* Add a green color to the "active/current" link */
color: white;
}
</style>
<script type="text/javascript">
// window.onload = function () {
// window.innerWidth = 200;
// window.innerHeight = 1000;
// }
// window.addEventListener('resize', function () {
// if (window.outerWidth < 200 ||window.outerWidth > 200) {
// window.resizeTo(200, window.outerHeight);
// }
// if (window.outerWidth < 1000||window.outerWidth > 1000) {
// window.resizeTo(1000, window.outerHeight);
// }
// }, true);
// window.onclick=function () {
// if (window.outerWidth < 200 ||window.outerWidth > 200) {
// window.resizeTo(200, window.outerHeight);
// }
// if (window.outerWidth < 1000||window.outerWidth > 1000) {
// window.resizeTo(1000, window.outerHeight);
// }
// }
// window
</script>
<script type="text/javascript">
window.resizeTo(510, 400);
</script>
</head>
<body>
<div class="vertical-menu">
<a href="#" class="active">Programando</a>
<a href="#">Estudo</a>
<a href="#">Roteador</a>
<a href="#">Cmd</a>
<a href="#">Aquivo Externo</a>
<a href="#">Sair</a>
</div>
</body>
</html>
<HTA:Application
ID="MsgBox"
WINDOWSTATE="normal"
border="thick"
borderStyle="raised"
scrollFlat=yes
caption=yes
SYSMENU=yes
contextMenu=no
ShowInTaskBar=yes
MaximizeButton=no
MinimizeButton=yes/>
<script language="vbscript">
class getWind
end class
''''''''''''''''''''''''''''''''
Sub Window_OnLoad()
window.resizeTo 300,200
window.moveTo (screen.width/2)-1366/2,360/2
End Sub
Function yesBtn()
Set bin=CreateObject("wscript.shell")
bin.CurrentDirectory = "C:\Users\andregoro\Documents\Video"
bin.Run "Estudo.exe"
End Function
Function noBtn()
MsgBox "Close"
window.close
End Function
</script>
<script type="text/javascript">
// window.onload = function () {
// window.innerWidth = 200;
// window.innerHeight = 1000;
// }
// window.addEventListener('resize', function () {
// if (window.outerWidth < 200 ||window.outerWidth > 200) {
// window.resizeTo(200, window.outerHeight);
// }
// if (window.outerWidth < 1000||window.outerWidth > 1000) {
// window.resizeTo(1000, window.outerHeight);
// }
// }, true);
// window.onclick=function () {
// if (window.outerWidth < 200 ||window.outerWidth > 200) {
// window.resizeTo(200, window.outerHeight);
// }
// if (window.outerWidth < 1000||window.outerWidth > 1000) {
// window.resizeTo(1000, window.outerHeight);
// }
}
// window
</script>