Install live chat as a link

Article ID: 3048  

Question
How do I install live chat as a link instead of a button, or link already existing graphical element on my page to open chat window?

Answer

Please install LiveHelpNow code first on your page. You can find the code for it in Admin Panel -> Chat System -> Installation

For classic popupstyle code please use OpenLHNChat() JavaScript function on your page like this:

<a href="#" onclick="OpenLHNChat();return false;">Text or Image</a>

For embedded widget please use:

<a href=“#” onclick="lhnJsSdk.openHOC();return false;”>Text or image</a>


Article Details
Views: 16751 Created on: Oct 07, 2010