
Chapter 5 Connecting to the Web 127
// The following is the ActiveX tag:
var activeXHTML = '<CENTER><OBJECT classid="clsid:238f6f83-b8b4-11cf-
8771-00a024541ee3" data="' + icaFile + '" CODEBASE="' + cabLoc + '"
width=' + width + ' height=' + height + ' hspace=' + hspace + ' vspace='
+ vspace + '> <param name="Start" value="' + start + '"><param
name="Border" value="' + border + '"></OBJECT></CENTER>';
// And the Plugin tag:
var plugInHTML = '<CENTER><EMBED SRC="' + icaFile + '" pluginspage="'
+ plugRefLoc + '" width=' + width + ' height=' + height + ' start=' +
start + ' border=' + border + ' hspace=' + hspace + ' vspace=' + vspace
+ '></CENTER>';
var userAgent = navigator.userAgent;
if (userAgent.indexOf("Mozilla") != -1) {
if (userAgent.indexOf("MSIE") != -1) {
if (userAgent.indexOf("Windows 3") > 0)
{ document.write(plugInHTML); }
else
{ document.write(activeXHTML); }
}
else
{ if (userAgent.indexOf("Win16") > 0) { document.write(plugInHTML); }
else { document.write(plugInHTML); }
}
}
//-->
</script>
<noscript>
<a href="bl.ica">
Your browser does not support JavaScript! You'll have to click here to
launch the application.
</a>
</noscript>
</FONT>
<br>
<font size=2 face="Arial,Helvetica,sans-serif"><br>
The client works with web sites that
have a link to a Citrix multi-user application
server. Users must have an active TCP/IP
connection to an Internet or Intranet Web server
to use the Citrix ICA Web Client. <br>
<br>
<strong>How do I get the client? </strong><br>
If you're using a browser that supports ActiveX,
such as Internet Explorer 3.0/4.0, the ICA Web ActiveX
Control download will initialize<br>
after loading this page. <br>
<br>
Komentáře k této Příručce