-
Notifications
You must be signed in to change notification settings - Fork 0
/
Test.htm
45 lines (37 loc) · 1.16 KB
/
Test.htm
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
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Test library</title>
<link rel="stylesheet" type="text/css" href="css/snake.winmgr.css" />
<script type="text/javascript" src="js/Snake.js" ></script>
<script type="text/javascript" src="js/snake.winmgr.js" ></script>
<script type="text/javascript" >
S(function(){
sjs_winmgr()
.add({
overlay: false,
resizable: true,
movable: true,
x: "center",//left - center - right - [pixNumber]
y: "center",//top - center - bottom - [pixNumber]
width: 500, //[pixNumber]
height: 360,//[pixNumber]
maxWidth: 600,
maxHeight: 400,
minWidth: 400,
minHeight: 300,
closeBtn: true,
maximizeBtn: true,
dir: "ltr"
})
.content({
title:'Content of Window Title',
body:'The Text in Window Content ...'
});
});
</script>
</head>
<body>
</body>
</html>