+ Start a Discussion
viswadaviswada 

Live agent chat button issue

HI  ALL,

    

                    I  have configred  live agent  in my developer account ,   I am not using  force.com sites.,   I am getting problem with  chat button . I have taken  chat button  Name as  "start"  . it will generate   javascript code,   that is shown  in below

 

<a id="liveagent_button_online_57390000000L2Hd" href="javascript&colon;//Chat" style="display: none;" onclick="liveagent.startChat('57390000000L2Hd')"><!-- Online Chat Content --></a><div id="liveagent_button_offline_57390000000L2Hd" style="display: none;"><!-- Offline Chat Content --></div><script type="text/javascript">
if (!window._laq) { window._laq = []; }
window._laq.push(function(){liveagent.showWhenOnline('57390000000L2Hd', document.getElementById('liveagent_button_online_57390000000L2Hd'));
liveagent.showWhenOffline('57390000000L2Hd', document.getElementById('liveagent_button_offline_57390000000L2Hd'));
});</script>  

 

  IN the  live agent implementation guide  we will provide images or text  code to  online chat  content and offline chat content .   i.provide strat and end   in that place , as shown below.

 

<a href="javascript&colon;//Chat"   id="liveagent_button_online_57390000000L2Hd" onclick="liveagent.startChat('57390000000L2Hd')"><!-- Online Chat Content -->Start
</a><div id="liveagent_button_offline_57390000000L2Hd" style="display: none;">END<!-- Offline Chat Content --></div><script type="text/javascript">
if (!window._laq) { window._laq = []; }
window._laq.push(function(){liveagent.showWhenOnline('57390000000L2Hd', document.getElementById('liveagent_button_online_57390000000L2Hd'));
liveagent.showWhenOffline('57390000000L2Hd', document.getElementById('liveagent_button_offline_57390000000L2Hd'));
});</script>

 

   when i run apex page   iam getting  END Text instead of Start .,  can  any one guide me  how to initiate  chat from  chat buttons

 

 

 

Thanks