/
index.html
45 lines (44 loc) · 1.01 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<title>Test</title>
<script src="window.js"></script>
<style>
.windowjs-window {
border: 1px solid darkgray;
}
.windowjs-title {
cursor: all-scroll;
font-weight: bold;
font-size: large;
padding-left: 3px;
float: left;
}
.windowjs-close {
cursor: pointer;
vertical-align: middle;
padding-right: 3px;
float: right;
}
.windowjs-body {
background: lightgrey;
clear: both;
padding: 3px;
}
</style>
<script>
window.onload = function() {
var w = new WindowJS({
close_button: "<span>x</span>",
remember: true,
title: "test",
draggable: true,
content: "<span>Test content</span>"
});
w.show();
};
</script>
</head>
<body>
</body>
</html>