First, you need to unzip the file called ‘Instant STLinks package.zip’ Use the extract method, rather than dragging and dropping the files out of the zip file. If done correctly, the extracted files should all be in one folder called ‘InstantStlinks’
Sametime comes equiped by default with an STLinks package. It can be found on your Sametime Server located by default at: ..domino/data/domino/html/Sametime/stlinks
It is best to leave this package alone and place the Instant STLinks package as a separate folder in the directory ..domino/data/domino/html/Sametime/
So in the Sametime folder, you will have two STLinks packages. One in the folder ‘stlinks’, and the other in the folder ‘InstantSTLinks’
At this point, the STLinks package is installed. Next we need to create a test HTML page which uses custom STLinks.
There are two ways to enable your webpage with the Instant STLinks package. When an agent clicks your STLink on your webpage, you can choose to have them be directed to the Information Submission form, or directly to the chat window. Both options will first require you to setup the html code on your webpage (By default the Instant STLinks package is set to direct a web visitor to the information submission form; see above sections for how to disable this). Below are the basic elements you need to setup an STLink on your webpage.
<head>
<link rel="STYLESHEET" href="”<CODEBASE">/stlinks.css" TYPE="text/css">
<script src="">/stlinks.js"> </script>
<script> setSTLinksURL("<codebase>");
</script>
<script> writeSTLinksApplet("Web Visitor","",false);
</script>
</head>
<body>
<script>
writeSametimeLink("<sametime>","<display>",false,<openform?>);
</script>
</body>
The first part is the code which goes into the head of your html page. This is code required to prepare the STLinks.
No comments:
Post a Comment