No chat images but text only links

Last post 06-09-2009, 1:03 PM by sroszko. 2 replies.
Sort Posts: Previous Next
  •  06-09-2009, 12:03 PM 52902

    No chat images but text only links

    We are currently evaluating live support to take the place of LivePerson.
    We do not want to use the chat images but text only links.
    Also if there is no operator online, ideally there would be no link or info about live support, just blank.
     
    -Steve
     
     
  •  06-09-2009, 12:12 PM 52904 in reply to 52902

    Re: No chat images but text only links

    Steve,
     
    Please open CuteSoft_Client\CuteChat\Support-Image-Button.js.aspx and find the following code:
     
    1. function WriteLiveSupportButton()   
    2. {   
    3.   
    4.   
    5.     var ImageURL='<%= CuteChat.ChatWebUtility.HasReadyAgents()/*HasOnlineAgents()*/?URL_live_help_online_image:URL_live_help_offline_image %>';   
    6.   
    7.     ImageURL= "<img title=\"support chat\" src=\""+ImageURL+"\" border=0>";   
    8.   
    9.     // write the live support button to the page   
    10.     document.write('<a href=\"###\" onclick=\"OpenLiveSupport()\">'+ImageURL+'</a>');   
    11.   
    12. }  

     
    It's straightforward. You can modify it to meet your own requirement.

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  06-09-2009, 1:03 PM 52909 in reply to 52904

    Re: No chat images but text only links

    Perfect.  Very simple:
     
     
        //var ImageURL='<%= CuteChat.ChatWebUtility.HasReadyAgents()/*HasOnlineAgents()*/?URL_live_help_online_image:URL_live_help_offline_image %>';
        //ImageURL= "<img title=\"support chat\" src=\""+ImageURL+"\" border=0>";
        // write the live support button to the page
        //document.write('<a href=\"###\" onclick=\"OpenLiveSupport()\">'+ImageURL+'</a>');

        var ImageURL='<%= CuteChat.ChatWebUtility.HasReadyAgents()/*HasOnlineAgents()*/?"<a href=\"###\" onclick=\"OpenLiveSupport()\">LIVE CHAT</a>":"" %>';
        document.write(ImageURL);



View as RSS news feed in XML