1 |
<!DOCTYPE html> |
2 |
<html lang="en"> |
3 |
<head> |
4 |
<meta charset="utf-8" /> |
5 |
<script type="text/javascript" src="settings.js"></script> |
6 |
<script type="text/javascript" src="main.js"></script> |
7 |
<script type="text/javascript"> |
8 |
function mainTry (){ |
9 |
if (window.main){ |
10 |
main(); |
11 |
return; |
12 |
} |
13 |
setTimeout(mainTry,500); |
14 |
} |
15 |
</script> |
16 |
<style type="text/css"> |
17 |
body,html,* { |
18 |
margin: 0; |
19 |
padding: 0; |
20 |
} |
21 |
|
22 |
div.window { |
23 |
position:absolute; |
24 |
left: 0; |
25 |
top: 0; |
26 |
width: 200px; |
27 |
|
28 |
background-color:#7F9DB9; |
29 |
border: #000000 groove; |
30 |
border-width: 5px; |
31 |
-moz-user-select:none; |
32 |
-khtml-user-select: none; |
33 |
} |
34 |
div.window_top_bar { |
35 |
width: 100%; |
36 |
height: 22px; |
37 |
background-color: #000; |
38 |
color: #fff; |
39 |
position:relative; |
40 |
left: 0; |
41 |
top: 0; |
42 |
} |
43 |
div.window_top_title { |
44 |
float: left; |
45 |
|
46 |
} |
47 |
|
48 |
div.window_close { |
49 |
float: right; |
50 |
padding-right: 3px; |
51 |
cursor: hand; |
52 |
} |
53 |
div.content { |
54 |
overflow: auto; |
55 |
width: 100%; |
56 |
height: 100%; |
57 |
} |
58 |
body { |
59 |
background-color: blue; |
60 |
} |
61 |
div.player_widnow_content { |
62 |
border: 1px solid red; |
63 |
width: 49%; |
64 |
height: 90%; |
65 |
float: left; |
66 |
} |
67 |
div.floor_widnow_content{ |
68 |
border: 1px solid green; |
69 |
width: 49%; |
70 |
height: 90%; |
71 |
float: left; |
72 |
|
73 |
} |
74 |
div.buttons_widnow_content { |
75 |
width: 100%; |
76 |
height: 30px; |
77 |
} |
78 |
</style> |
79 |
</head> |
80 |
<body onload="mainTry();"> |
81 |
<div id="window_template_container" style="display: none;"> |
82 |
<div class="window"> |
83 |
<div class="window_top_bar"> <div class="window_top_title">%title%</div><div class="window_close">x</div> </div> |
84 |
<div class="content"></div> |
85 |
</div> |
86 |
</div><input type="button" value="start" onclick="main();" /> |
87 |
</body> |
88 |
</html> |
89 |
|