1. For Share button
To create your own button or link anywhere on your webpage, you need to do the following listed in section “A”: Include the below piece of code in HEAD section of your HTML
SECTION “A”
<script type="text/javascript" src="https://www.innerpass.com/innerpass_prod/WindowFiles/dhtmlwindow.js"></script><script type="text/javascript" src="https://www.innerpass.com/innerpass_prod/js/deployJava.js"></script><script type="text/javascript" src="https://www.innerpass.com/innerpass_prod/js/ScreenSharingExt.js"></script>
Now call initSSControl() in load of BODY. eg: <body onload="initSSControl()">
Now to actually open Screen sharing you need to call the javascript function called
StartMeetingExternal('', '103'). Here in function StartMeetingExternal, 103 is the affiliate code. You need to replace this 103 with your affiliate code.
Example below:
To start screen sharing
<a href="javascript:StartMeetingExternal('', '103');"><img src="https://www.innerpass.com/innerpass_prod/widget/images/SSShare.gif" onmouseover="this.src='https://www.innerpass.com/innerpass_prod/widget/images/SSShareOver.gif'" onmouseout="this.src='https://www.innerpass.com/innerpass_prod/widget/images/SSShare.gif'" style="width:70px; height:70px; border:0" /></a>
Here in function StartMeetingExternal, 103 is the affiliate code. You need to replace this 103 with your affiliate code.
2. For Join button
To add a Screen Sharing join button on your webpage you need to do the following
a. Add the following in HEAD section of HTML
<script type="text/javascript" src="https://www.innerpass.com/innerpass_prod/js/ScreenSharingExt.js"></script><script type="text/javascript" src="https://www.innerpass.com/innerpass_prod/WindowFiles/dhtmlwindow.js"></script>
b. Call the javascipt function listed below from anywhere on that webpage.
JoinMeetingExternal(<MeetingNumberToJoin>,<NameOfThePersonJoining>,<YourAffiliateID>);
c. You can accept the 2 parameters to JoinMeetingExternal function anyhow on the webpage. Example from a textbox. Look at the example below
Meeting ID:<input type=text id="txtMeetingNumber" /> Name: <input type="text" id="txtName" /> <br /> <a href="javascript:JoinMeetingExternal(document.getElementById('txtMeetingNumber').value,document.getElementById('txtName').value,'103');"><img src="https://www.innerpass.com/innerpass_prod/widget/images/SSJoin.gif" onmouseover="this.src='https://www.innerpass.com/innerpass_prod/widget/images/SSJoinOver.gif'" onmouseout="this.src='https://www.innerpass.com/innerpass_prod/widget/images/SSJoin.gif'" style="width:70px; height:70px; border:0" /></a>
Here in function JoinMeetingExternal, 103 is the affiliate code. You need to replace this 103 with your affiliate code.
Your browser does not support iframes.