Standalone Template:
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></meta> <title>PROIV WebClient</title> <script language="javascript">pReady = false; Count = 0; function Done() { pReady = Proiv.IsReady; if (pReady || Count == 30) { Init(); window.close(); } else { setTimeout("Done()", 100); } Count += 1; } [b]function Init() { Proiv.LaunchAsApp("LoadPIV='"+pivUrl+"'|ShowStatusBar|ShowFrameBorders|ShowMenu|ShowToolBar|Connect"); }</script> [/b] <script language="javascript"> pivUrl='http://servername:8081/WebClient/services/pivRequest.xsp?name=v13%20DEV'; </script> </head> <body background="../../PROIV/V5/images/loading.jpg" border="0" onLoad="Done();"> <object id="Proiv" classid="clsid:ED90A852-D8A3-4BD8-8A88-D04235A4DCF6" width="0" height="0" codebase="[url="http://servername:8081/cabfiles/WebClient.cab#version=5,6,8,0"]http://servername:8081/cabfiles/WebClient.cab#version=5,6,8,0[/url]"> </object> </body> </html>
Default Template:
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></meta> <title>PROIV WebClient</title> <script language="javascript">pReady = false; Count = 0; function Done() { pReady = Proiv.IsReady; if (pReady || Count == 30) { Init(); } else { setTimeout("Done()", 100); } Count += 1; } [b]function Init() { Proiv.LoadPIV(pivUrl); Proiv.ShowControl(); Proiv.Connect(); }</script> [/b] <script language="javascript"> pivUrl='http://servername:8081/WebClient/services/pivRequest.xsp?name=Test'; </script> </head> <body onLoad="Done();"> <center> <object id="Proiv" classid="clsid:ED90A852-D8A3-4BD8-8A88-D04235A4DCF6" width="1010" height="700" codebase="[url="http://servername:8081/cabfiles/WebClient.cab#version=5,6,8,0"]http://servername:8081/cabfiles/WebClient.cab#version=5,6,8,0[/url]"> </object> </center> </body> </html>