Web Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 



Go Back   Dev Articles Community ForumsWeb DesignWeb Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old November 29th, 2011, 03:33 PM
ankita ankita is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2011
Posts: 1 ankita User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 21 m 2 sec
Reputation Power: 0
Post Chatting Icon[BOld Chat]

As i was reading some post on this site,i am having some problems right now BOldChat Software in my sharepoint 2010 application.How can i change the images of live chat button whenever operator is available or away in javascript.I have 2 images called available and unavailable in sp 2010 image gallery.I have written the code in javascript so that when i click on chat button(that is available symbol))and i wanted to change image whenever operator is away(Unavailable symbol)Just assume that you two images and has to be changed based on the status of the operator...Please reply as soon as possible.The code as follows...

[code]

<asp:HyperLink runat="server" ID="btnLiveChat" Image="~/PublishingImages/btnSmallLiveChat.png"
ToolTip="Chat" BorderWidth="0" CssClass="HeaderButton" onclick="getChatSite();">Chat</asp:HyperLink>


<script language="javascript" type="text/javascript">
function getChatSite()
{
window.open("1759868703890805207&url='" + escape(document.location.href) + "'", "chat", "toolbar=0,scrollbars=1,location=0,statusbar=0,menu bar=0,resizable=1,width=640,height=480');this.newW indow.focus();this.newWindow.opener=window;return false") }
</script>

<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-13227431-1");
pageTracker._trackPageview();
} catch (err) { }
</script>
<!-- Bold Software Visitor Monitor HTML v2.00 (Website=- None -,ChatWindow=My Chat Window,ChatInvitation=My Invite Ruleset) -->
<script language="JavaScript" type="text/javascript">
document.write(unescape('%3Cscript language="JavaScript" type="text/javascript" src="http/vms.js"%3E%3C/script%3E'));
</script>
<script language="JavaScript" type="text/javascript">
try {
var pageViewer = _bcvm.getPageViewer("5841406484897312464");
pageViewer.setParameter("ChatWindowDefID", "1759868703890805207");
pageViewer.setParameter("ChatWidth", "640");
pageViewer.setParameter("ChatHeight", "480");
pageViewer.setParameter("InvitationDefID", "4643103440904555620");
pageViewer.setParameter("WindowScheme", "http");
pageViewer.pageViewed();
} catch(error) {}
</script>
<noscript>
<a href="http" title="Live Chat Software" target="_blank"><img alt="Live Chat Software" src="()" border="0" width="1" height="1" /></a>
</noscript>


I have this code which will change images when operator is available and away

function bt_showChatHTML(bt_available,bt_unavailable) {
document.write(bt_unavailable);
}
bt_chatAvailable = false;

at the some of the places url 's not allowed in this post...so i just removed it

Where should i add this code or how can i do this task??

thanks

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsWeb DesignWeb Development > Chatting Icon[BOld Chat]


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.

© 2003-2017 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap