Parker Software Ltd Homepage
Forum Home Forum Home > WhosOn Visitor Tracking & Live Chat > FAQ's > Advanced FAQ's
  New Posts New Posts RSS Feed: Floating Click to Chat Icon
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Floating Click to Chat Icon

 Post Reply Post Reply
James Horton View Drop Down
Admin Group
Admin Group
Technical Support

Joined: 01 Jun 2009
Location: Stoke-on-Trent
Posts: 292
Post Options Post Options   Quote James Horton Quote  Post ReplyReply Direct Link To This Post Topic: Floating Click to Chat Icon
    Posted: 05 Dec 2011 at 9:28am
We have been having requests for a floating live chat link in the browser window when a visitor is viewing your site, that follows the visitor's scrolling of the page.

This is possible using CSS and we have a sample piece of code that can be placed into the HTML's Body at the bottom of the document.

For this to work you will need to make sure that you have an image which is suitable to be presented in the side of your webpage as a floating item. Typically items that are small on width and greater in height. You will also need to make sure that you have set Display Nothing When Offline in your Visitor Chat settings of Site Properties. 

You will need to set the physical dimensions of the image here in the width and height areas:

<div id="liveHelp" style="position: fixed;right: 0px;top: 60px;width: 43px;height: 157px;"> 
Here is the code you will need:

<!-- Start of embedded WhosOn -->       
<div id="liveHelp" style="position: fixed;right: 0px;top: 60px;width: 43px;height: 157px;">

<a id='whoson_chat_link'></a>


<script type='text/javascript' src=''></script>

        <script type='text/javascript' >

                    function sWOImLoadOvr() {

                                sWOChatElement.href=sWOChatstart; = "_blank";sWOChatElement.appendChild(sWOImage);sWOChatElement.onclick=sWOStartChat;
                                if (sWOImage.width == 1) {
                                var cd = document.getElementById('liveHelp');
                       = 'hidden'; }

            sWOImageLoaded = sWOImLoadOvr;

            if (typeof sWOTrackPage == 'function') sWOTrackPage();


<!-- End of embedded WhosOn -->

Best Regards,

Daniel James Horton
Technical Manager
Parker Software
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

This page was generated in 0.094 seconds.
These are the forums for Parker Software, developers of Live Chat Software: WhosOn and Email Automation Software: Email2DB.