Live customer support system Demo Signup Forums Downloads Contact

hyperlink to open chat window

Issues related to client side panel and status indicator

Moderator: Ace

hyperlink to open chat window

Postby MorpheusControl » Thu Sep 06, 2012 8:50 am

We have a page that has the image to start chat as normal, but we also want to add a hyperlink in the text which does the same thing as the image, i.e. open a chat window, is this possible?
MorpheusControl
 
Posts: 1
Joined: Thu Sep 06, 2012 8:16 am

Re: hyperlink to open chat window

Postby dgent » Mon Mar 25, 2013 3:44 pm

Yes, bring up your webpage with your live admin icon on it, I use Google Chrome for this..

Then right click on the icon and click 'inspect element'

This should show the contents of the liveadmin div which the contents should look like this

<img style="cursor: pointer;border: none 0px;" id="liveadmin_status_image_liveadmin" src="http://www.yourwebsite.com/liveadmin/images/on_off/tm_02_on.png" onclick="Live_3a5e4b8ee5d22f0cd5ab1e0a054f8486_Admin.StartChatPanel();">

Now make a hyperlink copying the code in the 'onclick' field from above into the link below.


<a href="javascript:void(0)" onclick="Live_3a5e43jej4js4339892839e0a054f8486_Admin.StartChatPanel();">LIVE CHAT</a>
dgent
 
Posts: 2
Joined: Thu Nov 08, 2012 10:41 am


Return to Client Panel

Who is online

Users browsing this forum: No registered users and 1 guest

cron