Sep 16, 2011, 6:18 AM
[CLOSED] Image Button - Open Skype Chat Room
Hi All,
We have a page to list of the users with skype status. Also we provided a option to open skype chat room when the user can select a user. This process is working well in IE browser. Other browsers (Firefox and Chrome) are not support this kind of proces. The following source we have used,
Toolbar and anchor tag icon...
Thanks & Regards,
Rameshkumar
We have a page to list of the users with skype status. Also we provided a option to open skype chat room when the user can select a user. This process is working well in IE browser. Other browsers (Firefox and Chrome) are not support this kind of proces. The following source we have used,
Toolbar and anchor tag icon...
<a href="#" id="a_startchat" onclick="ProcessSkypeChat();"></a>
<li>
<ext:ImageButton runat="server" ID="btnStartChat" SkinID="tbarSkypeChat" AutoPostBack="false">
<Listeners>
<Click Delay="1" Handler="a_startchat.click();" />
</Listeners>
</ext:ImageButton>
</li>
Javascript to open Skype chat window,function ProcessSkypeChat() {
var GridRecords = gd_user.getSelectionModel().getSelections();
var a = document.getElementById("a_startchat");
for (i = 0; i < GridRecords.length; i++) {
if (GridRecords[i].data.SkypeName != "") {
a.href = "skype:" + GridRecords[i].data.SkypeName + "?chat";
return true;
}
else {
Warning(skypeRequiredMessage, requiredtitle);
}
}
if (GridRecords.length == 0) {
Warning(requiredmessage, requiredtitle);
}
a.href = "#";
return true;
}
Please help us to resolve this issue.Thanks & Regards,
Rameshkumar
Last edited by geoffrey.mcgill; Sep 17, 2011 at 7:31 PM.
Reason: [CLOSED]