profoundjs 7.4.0 → 7.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.txt +27 -25
- package/htdocs/jszip/FileSaver.min.js +2 -2
- package/htdocs/profoundui/proddata/css/atrium.css +201 -201
- package/htdocs/profoundui/proddata/css/designer_respeditor.css +91 -91
- package/htdocs/profoundui/proddata/css/ipademulator.css +38 -38
- package/htdocs/profoundui/proddata/css/iphoneemulator.css +29 -29
- package/htdocs/profoundui/proddata/css/jumpstart.css +442 -442
- package/htdocs/profoundui/proddata/css/key_management.css +122 -122
- package/htdocs/profoundui/proddata/css/logic.css +1669 -1665
- package/htdocs/profoundui/proddata/css/markdown.css +754 -754
- package/htdocs/profoundui/proddata/css/profoundai.css +42 -0
- package/htdocs/profoundui/proddata/css/puisplash.css +186 -186
- package/htdocs/profoundui/proddata/css/qtips.css +32 -32
- package/htdocs/profoundui/proddata/html/genieframe.html +25 -25
- package/htdocs/profoundui/proddata/js/designer.js +4022 -4002
- package/htdocs/profoundui/proddata/js/key_management.js +34 -34
- package/htdocs/profoundui/proddata/js/profoundai.js +26 -0
- package/htdocs/profoundui/proddata/js/rich-display-react-component.js +45 -45
- package/htdocs/profoundui/proddata/js/rich-display-vue-component.js +28 -28
- package/htdocs/profoundui/proddata/js/runtime.js +1373 -1369
- package/htdocs/profoundui/proddata/js/soapclient.js +419 -419
- package/htdocs/profoundui/proddata/typings/profoundjs.d.ts +881 -881
- package/htdocs/profoundui/proddata/typings/profoundui.d.ts +388 -388
- package/htdocs/profoundui/userdata/atrium themes/css/xtheme-gray.css +414 -414
- package/htdocs/profoundui/userdata/atrium themes/css/xtheme-olive.css +623 -623
- package/htdocs/profoundui/userdata/atrium themes/css/xtheme-slate.css +672 -672
- package/htdocs/profoundui/userdata/atrium themes/css/xtheme-steel.css +10437 -10437
- package/htdocs/profoundui/userdata/css/atrium_banner.css +13 -13
- package/htdocs/profoundui/userdata/css/atrium_home.css +37 -37
- package/htdocs/profoundui/userdata/custom/themes/enhanced.js +104 -104
- package/htdocs/profoundui/userdata/custom/themes/hybrid.js +109 -109
- package/htdocs/profoundui/userdata/custom/themes/standard.js +68 -68
- package/htdocs/profoundui/userdata/custom/widgets/googlemaps.js +139 -139
- package/htdocs/profoundui/userdata/custom/widgets/listbox.js +37 -37
- package/htdocs/profoundui/userdata/custom/widgets/panel.js +74 -74
- package/htdocs/profoundui/userdata/custom/widgets/styled_button.js +71 -71
- package/htdocs/profoundui/userdata/custom/widgets/tabpanel.js +61 -61
- package/htdocs/profoundui/userdata/genie skins/Classic/Classic.css +562 -562
- package/htdocs/profoundui/userdata/genie skins/Classic/custom.js +3 -3
- package/htdocs/profoundui/userdata/genie skins/Gradient/Gradient.css +616 -616
- package/htdocs/profoundui/userdata/genie skins/Gradient/adjusted columns custom.js +83 -83
- package/htdocs/profoundui/userdata/genie skins/Gradient/custom.js +83 -83
- package/htdocs/profoundui/userdata/genie skins/Hybrid/Hybrid.css +616 -616
- package/htdocs/profoundui/userdata/genie skins/Hybrid/custom.js +330 -330
- package/htdocs/profoundui/userdata/genie skins/Plain/Plain.css +546 -546
- package/htdocs/profoundui/userdata/genie skins/Plain/custom.js +6 -6
- package/htdocs/profoundui/userdata/genie skins/Skyline/Skyline.css +753 -753
- package/htdocs/profoundui/userdata/genie skins/Skyline/adjusted columns custom.js +97 -97
- package/htdocs/profoundui/userdata/genie skins/Skyline/custom.js +97 -97
- package/htdocs/profoundui/userdata/genie skins/Tablet/Tablet.css +743 -743
- package/htdocs/profoundui/userdata/genie skins/Tablet/custom.js +153 -153
- package/htdocs/profoundui/userdata/samples/ordentry/OrdEntry.js +92 -92
- package/package.json +3 -2
- package/profound.jse +1 -1
- package/setup/pjsdist.savf +0 -0
|
@@ -301,3 +301,45 @@
|
|
|
301
301
|
border-radius: 4px;
|
|
302
302
|
padding: 2px 4px;
|
|
303
303
|
}
|
|
304
|
+
|
|
305
|
+
span.pai-citation {
|
|
306
|
+
font-size: 12px;
|
|
307
|
+
color: #666;
|
|
308
|
+
margin-top: 10px;
|
|
309
|
+
cursor: pointer;
|
|
310
|
+
}
|
|
311
|
+
span.pai-citation:hover {
|
|
312
|
+
color: #333;
|
|
313
|
+
text-decoration: underline;
|
|
314
|
+
}
|
|
315
|
+
.pai-dark span.pai-citation {
|
|
316
|
+
color: #ddd;
|
|
317
|
+
}
|
|
318
|
+
.pai-dark span.pai-citation:hover {
|
|
319
|
+
color: #fff;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
.pai-tooltip-content {
|
|
323
|
+
font-size: 12px;
|
|
324
|
+
color: #666;
|
|
325
|
+
display: block;
|
|
326
|
+
position: fixed;
|
|
327
|
+
z-index: 1001;
|
|
328
|
+
background-color: #f9f9f9;
|
|
329
|
+
border: 1px solid #ccc;
|
|
330
|
+
border-radius: 4px;
|
|
331
|
+
padding: 10px;
|
|
332
|
+
width: 400px;
|
|
333
|
+
overflow: auto;
|
|
334
|
+
max-height: 500px;
|
|
335
|
+
white-space: normal;
|
|
336
|
+
cursor: default;
|
|
337
|
+
}
|
|
338
|
+
.pai-tooltip-content::-webkit-scrollbar {
|
|
339
|
+
width: 8px;
|
|
340
|
+
border-radius: 5px;
|
|
341
|
+
}
|
|
342
|
+
.pai-tooltip-content::-webkit-scrollbar-thumb {
|
|
343
|
+
background-color: #ccc;
|
|
344
|
+
border-radius: 5px;
|
|
345
|
+
}
|
|
@@ -1,186 +1,186 @@
|
|
|
1
|
-
|
|
2
|
-
body {
|
|
3
|
-
font-family: helvetica;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
#container {
|
|
8
|
-
height: 100vh;
|
|
9
|
-
background-image: linear-gradient(225deg, #0ab3e4, #102976);
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
#image {
|
|
14
|
-
position: relative;
|
|
15
|
-
margin: 0px;
|
|
16
|
-
padding: 0px;
|
|
17
|
-
height: 580px;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
img {
|
|
22
|
-
margin: 0px;
|
|
23
|
-
padding: 0px;
|
|
24
|
-
border: none;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
#heading {
|
|
29
|
-
visibility: hidden;
|
|
30
|
-
position: absolute;
|
|
31
|
-
top: 148px;
|
|
32
|
-
left: 250px;
|
|
33
|
-
font-style: italic;
|
|
34
|
-
font-size: 31px;
|
|
35
|
-
overflow: hidden;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
#new {
|
|
40
|
-
left: 50px;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
#modernize {
|
|
45
|
-
left: 365px;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
#integrate {
|
|
50
|
-
left: 683px;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
.label {
|
|
55
|
-
font-size: 18px;
|
|
56
|
-
position: absolute;
|
|
57
|
-
top: 337px;
|
|
58
|
-
width: 400px;
|
|
59
|
-
height: 50px;
|
|
60
|
-
text-align: left;
|
|
61
|
-
color: black;
|
|
62
|
-
font-weight: bold;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
#profound {
|
|
67
|
-
position: absolute;
|
|
68
|
-
top: 563px;
|
|
69
|
-
left: 300px;
|
|
70
|
-
font-size: 11px;
|
|
71
|
-
font-weight: bold;
|
|
72
|
-
color: white;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
/* Menus */
|
|
78
|
-
|
|
79
|
-
.menu {
|
|
80
|
-
position: absolute;
|
|
81
|
-
top: 360px;
|
|
82
|
-
width: 250px;
|
|
83
|
-
height: 165px;
|
|
84
|
-
text-align: left;
|
|
85
|
-
overflow-y: auto;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
#devMenu {
|
|
89
|
-
left: 47px;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
#modMenu {
|
|
93
|
-
left: 365px;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
#intMenu {
|
|
97
|
-
left: 680px;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.menuLine {
|
|
101
|
-
position: relative;
|
|
102
|
-
font-size: 12px;
|
|
103
|
-
cursor: pointer;
|
|
104
|
-
overflow:hidden;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
#devMenu .menuLine:hover{
|
|
108
|
-
background-color: #FCC184;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
#modMenu .menuLine:hover{
|
|
112
|
-
background-color: #CBE5C3;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
#intMenu .menuLine:hover{
|
|
116
|
-
background-color: #B2E2F0;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
.level1 {
|
|
120
|
-
margin-left: 0px;
|
|
121
|
-
font-weight: bold;
|
|
122
|
-
background-color: #ffffff;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
.level2 {
|
|
126
|
-
margin-left: 16px;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.level3 {
|
|
130
|
-
margin-left: 32px;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
.menu a {
|
|
134
|
-
color: black;
|
|
135
|
-
text-decoration: none;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
img.expander {
|
|
140
|
-
border-style: solid;
|
|
141
|
-
border-color: transparent;
|
|
142
|
-
border-width: 2px;
|
|
143
|
-
margin-top: 2px;
|
|
144
|
-
margin-right: 2px;
|
|
145
|
-
width: 12px;
|
|
146
|
-
height: 12px;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
#update {
|
|
150
|
-
position: absolute;
|
|
151
|
-
top: 25px;
|
|
152
|
-
right: 5px;
|
|
153
|
-
font-size: 14px;
|
|
154
|
-
font-weight: normal;
|
|
155
|
-
z-index: 10;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
#update a {
|
|
159
|
-
color: white;
|
|
160
|
-
letter-spacing: -0.5px;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
#keys {
|
|
164
|
-
position: absolute;
|
|
165
|
-
top: 40px;
|
|
166
|
-
right: 5px;
|
|
167
|
-
font-size: 14px;
|
|
168
|
-
font-weight: normal;
|
|
169
|
-
z-index: 10;
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
#keys a {
|
|
174
|
-
color: white;
|
|
175
|
-
letter-spacing: -0.5px;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
#versionDiv {
|
|
179
|
-
position: absolute;
|
|
180
|
-
color: white;
|
|
181
|
-
top: 5px;
|
|
182
|
-
right: 5px;
|
|
183
|
-
font-size: 16px;
|
|
184
|
-
font-weight: bold;
|
|
185
|
-
z-index: 10;
|
|
186
|
-
}
|
|
1
|
+
|
|
2
|
+
body {
|
|
3
|
+
font-family: helvetica;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
#container {
|
|
8
|
+
height: 100vh;
|
|
9
|
+
background-image: linear-gradient(225deg, #0ab3e4, #102976);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
#image {
|
|
14
|
+
position: relative;
|
|
15
|
+
margin: 0px;
|
|
16
|
+
padding: 0px;
|
|
17
|
+
height: 580px;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
img {
|
|
22
|
+
margin: 0px;
|
|
23
|
+
padding: 0px;
|
|
24
|
+
border: none;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
#heading {
|
|
29
|
+
visibility: hidden;
|
|
30
|
+
position: absolute;
|
|
31
|
+
top: 148px;
|
|
32
|
+
left: 250px;
|
|
33
|
+
font-style: italic;
|
|
34
|
+
font-size: 31px;
|
|
35
|
+
overflow: hidden;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
#new {
|
|
40
|
+
left: 50px;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
#modernize {
|
|
45
|
+
left: 365px;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
#integrate {
|
|
50
|
+
left: 683px;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
.label {
|
|
55
|
+
font-size: 18px;
|
|
56
|
+
position: absolute;
|
|
57
|
+
top: 337px;
|
|
58
|
+
width: 400px;
|
|
59
|
+
height: 50px;
|
|
60
|
+
text-align: left;
|
|
61
|
+
color: black;
|
|
62
|
+
font-weight: bold;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
#profound {
|
|
67
|
+
position: absolute;
|
|
68
|
+
top: 563px;
|
|
69
|
+
left: 300px;
|
|
70
|
+
font-size: 11px;
|
|
71
|
+
font-weight: bold;
|
|
72
|
+
color: white;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
/* Menus */
|
|
78
|
+
|
|
79
|
+
.menu {
|
|
80
|
+
position: absolute;
|
|
81
|
+
top: 360px;
|
|
82
|
+
width: 250px;
|
|
83
|
+
height: 165px;
|
|
84
|
+
text-align: left;
|
|
85
|
+
overflow-y: auto;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
#devMenu {
|
|
89
|
+
left: 47px;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
#modMenu {
|
|
93
|
+
left: 365px;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
#intMenu {
|
|
97
|
+
left: 680px;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.menuLine {
|
|
101
|
+
position: relative;
|
|
102
|
+
font-size: 12px;
|
|
103
|
+
cursor: pointer;
|
|
104
|
+
overflow:hidden;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
#devMenu .menuLine:hover{
|
|
108
|
+
background-color: #FCC184;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
#modMenu .menuLine:hover{
|
|
112
|
+
background-color: #CBE5C3;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
#intMenu .menuLine:hover{
|
|
116
|
+
background-color: #B2E2F0;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.level1 {
|
|
120
|
+
margin-left: 0px;
|
|
121
|
+
font-weight: bold;
|
|
122
|
+
background-color: #ffffff;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.level2 {
|
|
126
|
+
margin-left: 16px;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.level3 {
|
|
130
|
+
margin-left: 32px;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.menu a {
|
|
134
|
+
color: black;
|
|
135
|
+
text-decoration: none;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
img.expander {
|
|
140
|
+
border-style: solid;
|
|
141
|
+
border-color: transparent;
|
|
142
|
+
border-width: 2px;
|
|
143
|
+
margin-top: 2px;
|
|
144
|
+
margin-right: 2px;
|
|
145
|
+
width: 12px;
|
|
146
|
+
height: 12px;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
#update {
|
|
150
|
+
position: absolute;
|
|
151
|
+
top: 25px;
|
|
152
|
+
right: 5px;
|
|
153
|
+
font-size: 14px;
|
|
154
|
+
font-weight: normal;
|
|
155
|
+
z-index: 10;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
#update a {
|
|
159
|
+
color: white;
|
|
160
|
+
letter-spacing: -0.5px;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
#keys {
|
|
164
|
+
position: absolute;
|
|
165
|
+
top: 40px;
|
|
166
|
+
right: 5px;
|
|
167
|
+
font-size: 14px;
|
|
168
|
+
font-weight: normal;
|
|
169
|
+
z-index: 10;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
#keys a {
|
|
174
|
+
color: white;
|
|
175
|
+
letter-spacing: -0.5px;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
#versionDiv {
|
|
179
|
+
position: absolute;
|
|
180
|
+
color: white;
|
|
181
|
+
top: 5px;
|
|
182
|
+
right: 5px;
|
|
183
|
+
font-size: 16px;
|
|
184
|
+
font-weight: bold;
|
|
185
|
+
z-index: 10;
|
|
186
|
+
}
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Ext JS Library 3.0+
|
|
3
|
-
* Copyright(c) 2006-2009 Ext JS, LLC
|
|
4
|
-
* licensing@extjs.com
|
|
5
|
-
* http://www.extjs.com/license
|
|
6
|
-
*/
|
|
7
|
-
#content-anchor-tip ul {
|
|
8
|
-
float: left;
|
|
9
|
-
width: 200px;
|
|
10
|
-
list-style-type: disc;
|
|
11
|
-
margin-left: 15px;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.ext-ie #content-anchor-tip ul {
|
|
15
|
-
margin: 0;
|
|
16
|
-
padding-left: 15px;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
#content-anchor-tip .thumb {
|
|
20
|
-
float: right;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
#content-anchor-tip .status-icon {
|
|
24
|
-
position: absolute;
|
|
25
|
-
top: 4px;
|
|
26
|
-
right: 50px;
|
|
27
|
-
padding: 0;
|
|
28
|
-
line-height: 0;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
#content-anchor-tip a:link, #content-anchor-tip a:visited {
|
|
32
|
-
color: #339;
|
|
1
|
+
/*!
|
|
2
|
+
* Ext JS Library 3.0+
|
|
3
|
+
* Copyright(c) 2006-2009 Ext JS, LLC
|
|
4
|
+
* licensing@extjs.com
|
|
5
|
+
* http://www.extjs.com/license
|
|
6
|
+
*/
|
|
7
|
+
#content-anchor-tip ul {
|
|
8
|
+
float: left;
|
|
9
|
+
width: 200px;
|
|
10
|
+
list-style-type: disc;
|
|
11
|
+
margin-left: 15px;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.ext-ie #content-anchor-tip ul {
|
|
15
|
+
margin: 0;
|
|
16
|
+
padding-left: 15px;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
#content-anchor-tip .thumb {
|
|
20
|
+
float: right;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
#content-anchor-tip .status-icon {
|
|
24
|
+
position: absolute;
|
|
25
|
+
top: 4px;
|
|
26
|
+
right: 50px;
|
|
27
|
+
padding: 0;
|
|
28
|
+
line-height: 0;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
#content-anchor-tip a:link, #content-anchor-tip a:visited {
|
|
32
|
+
color: #339;
|
|
33
33
|
}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
<html>
|
|
2
|
-
<head>
|
|
3
|
-
<title></title>
|
|
4
|
-
<script>
|
|
5
|
-
function addEvents() {
|
|
6
|
-
if (window.attachEvent) {
|
|
7
|
-
window.attachEvent("onbeforeunload", beforeUnload);
|
|
8
|
-
window.attachEvent("onunload", unload);
|
|
9
|
-
}
|
|
10
|
-
else if (window.addEventListener) {
|
|
11
|
-
window.addEventListener("beforeunload", beforeUnload, false);
|
|
12
|
-
window.addEventListener("unload", unload, false);
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
function beforeUnload(event) {
|
|
16
|
-
if (parent.main.beforeUnload) parent.main.beforeUnload(event);
|
|
17
|
-
}
|
|
18
|
-
function unload(event) {
|
|
19
|
-
if (parent.main.unload) parent.main.unload(event);
|
|
20
|
-
}
|
|
21
|
-
</script>
|
|
22
|
-
</head>
|
|
23
|
-
<body onload="addEvents()">
|
|
24
|
-
</body>
|
|
25
|
-
</html>
|
|
1
|
+
<html>
|
|
2
|
+
<head>
|
|
3
|
+
<title></title>
|
|
4
|
+
<script>
|
|
5
|
+
function addEvents() {
|
|
6
|
+
if (window.attachEvent) {
|
|
7
|
+
window.attachEvent("onbeforeunload", beforeUnload);
|
|
8
|
+
window.attachEvent("onunload", unload);
|
|
9
|
+
}
|
|
10
|
+
else if (window.addEventListener) {
|
|
11
|
+
window.addEventListener("beforeunload", beforeUnload, false);
|
|
12
|
+
window.addEventListener("unload", unload, false);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
function beforeUnload(event) {
|
|
16
|
+
if (parent.main.beforeUnload) parent.main.beforeUnload(event);
|
|
17
|
+
}
|
|
18
|
+
function unload(event) {
|
|
19
|
+
if (parent.main.unload) parent.main.unload(event);
|
|
20
|
+
}
|
|
21
|
+
</script>
|
|
22
|
+
</head>
|
|
23
|
+
<body onload="addEvents()">
|
|
24
|
+
</body>
|
|
25
|
+
</html>
|