ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/html5client/client.html
Revision: 1.2
Committed: Tue Nov 6 23:50:58 2012 UTC (11 years, 6 months ago) by root
Content type: text/html
Branch: MAIN
Changes since 1.1: +1 -1 lines
Log Message:
*** empty log message ***

File Contents

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