DOCTYPE html html head meta http-equiv Content-Type content text 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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script async src="="%WEBCLIENT_HOSTNAME%/scripts/embeddedwebclient_1.0.js"></script>
</head>
<body onload=init();>
<div id="webClientContainer"></div>
<script>
var webClient = null;
var onWebClientStart = function()
{
webClient.gotoURL("%NAVIGATION_URL%");
};
var startWebClient = function()
{
webClient = new EmbeddedWebClient('webClientContainer',
{
webClientURL: '%WEBCLIENT_HOSTNAME%',
width: '100%',
height: '100%',
events:
{
'onStart': onWebClientStart
}
});
};
var init = function()
{
startWebClient('EmbeddedWorkplace');
};
</script>
</body>
</html>