You need to sign in to do that
Don't have an account?
Dorie Escusa
Live Agent
Hello, I am not a developer. I just manage our website's content. Our developer cannot be reached at the moment, but I hope some of you can assist me with our Live Agent issue. If you see the image below you can see that it's out of my screen. When I press CTRL + -, the chat box moves closer to the center and it blocks an element on our webpage.
I am using Mozilla's 33.1.1 and a Vista OS, 64bit (not sure if this info helps). Same error shows on my Chrome browser (latest version).
Is there a way for me to tweak this code? This is the code:
<script type='text/javascript' language='javascript'>llactid=24911</script>
<script type='text/javascript' language='javascript' src='http://t2.trackalyzer.com/trackalyze.js'></script>
<script type='text/javascript' src='https://c.la1w1.salesforceliveagent.com/content/g/js/32.0/deployment.js'></script>
<script type='text/javascript'>
liveagent.init('https://d.la1w1.salesforceliveagent.com/chat', '572d0000000PEos', '00Dd0000000di5A');
</script>
<img id="liveagent_button_online_573d0000000PEon" style="display: none; border: 0px none; cursor: pointer;margin-top: -1225px;position:absolute;z-index:1000;margin-left:1210px;" onclick="liveagent.startChat('573d0000000PEon')" src="http://www.emlogis.net/wp-content/uploads/2014/10/EmLogis_Live_Chat_Button-271x300.png" /><div id="liveagent_button_offline_573d0000000PEon" style="display: none;"><a href="#" onclick="window.open('http://emlogis.force.com/livechat/apex/PreChat?endpoint=https%3A%2F%2F8vf.la6cs.salesforceliveagent.com%2Fcontent%2Fs%2Fchat%3Flanguage%3Den_US%23deployment_id%3D572J00000008OK1%26org_id%3D00DJ0000002g5fF%26button_id%3D573J00000008OMl%26session_id%3D1cee6f7d-b8a4-4302-9e02-e6dcbcfd658f','cusname','fullscreen=no,resizable=no,height=400,width=600,scrollbars=no');" id="gform_submit_button_1" tabindex="10"><img style="border: 0px none; cursor: pointer;margin-top: -1225px;position:absolute;z-index:1000;margin-left:1210px;" src="http://www.emlogis.net/wp-content/uploads/2014/10/EmLogis_Leave_Message_Button-275x300.png"/></a></div><script type="text/javascript">
if (!window._laq) { window._laq = []; }
window._laq.push(function(){liveagent.showWhenOnline('573d0000000PEon', document.getElementById('liveagent_button_online_573d0000000PEon'));
liveagent.showWhenOffline('573d0000000PEon', document.getElementById('liveagent_button_offline_573d0000000PEon'));
});</script>
I am using Mozilla's 33.1.1 and a Vista OS, 64bit (not sure if this info helps). Same error shows on my Chrome browser (latest version).
Is there a way for me to tweak this code? This is the code:
<script type='text/javascript' language='javascript'>llactid=24911</script>
<script type='text/javascript' language='javascript' src='http://t2.trackalyzer.com/trackalyze.js'></script>
<script type='text/javascript' src='https://c.la1w1.salesforceliveagent.com/content/g/js/32.0/deployment.js'></script>
<script type='text/javascript'>
liveagent.init('https://d.la1w1.salesforceliveagent.com/chat', '572d0000000PEos', '00Dd0000000di5A');
</script>
<img id="liveagent_button_online_573d0000000PEon" style="display: none; border: 0px none; cursor: pointer;margin-top: -1225px;position:absolute;z-index:1000;margin-left:1210px;" onclick="liveagent.startChat('573d0000000PEon')" src="http://www.emlogis.net/wp-content/uploads/2014/10/EmLogis_Live_Chat_Button-271x300.png" /><div id="liveagent_button_offline_573d0000000PEon" style="display: none;"><a href="#" onclick="window.open('http://emlogis.force.com/livechat/apex/PreChat?endpoint=https%3A%2F%2F8vf.la6cs.salesforceliveagent.com%2Fcontent%2Fs%2Fchat%3Flanguage%3Den_US%23deployment_id%3D572J00000008OK1%26org_id%3D00DJ0000002g5fF%26button_id%3D573J00000008OMl%26session_id%3D1cee6f7d-b8a4-4302-9e02-e6dcbcfd658f','cusname','fullscreen=no,resizable=no,height=400,width=600,scrollbars=no');" id="gform_submit_button_1" tabindex="10"><img style="border: 0px none; cursor: pointer;margin-top: -1225px;position:absolute;z-index:1000;margin-left:1210px;" src="http://www.emlogis.net/wp-content/uploads/2014/10/EmLogis_Leave_Message_Button-275x300.png"/></a></div><script type="text/javascript">
if (!window._laq) { window._laq = []; }
window._laq.push(function(){liveagent.showWhenOnline('573d0000000PEon', document.getElementById('liveagent_button_online_573d0000000PEon'));
liveagent.showWhenOffline('573d0000000PEon', document.getElementById('liveagent_button_offline_573d0000000PEon'));
});</script>
It is not an error with the Live Agent code, it is the HTML CSS and styling of your page that causes it. It is reeally hard to help you without extended knowladge of your page and all its elements.
For the quick fix, untile your developed comes back from vacation, I would also try and take out z-index:1000 and change position to absolute so HTML of the image should be
Thank you for your recommendations. I will test your codes later. You were helpful!