Support Center > Knowledge Base> Article: Making the HelpOut tab disappear when all operators are offline

Making the HelpOut tab disappear when all operators are offline

Article ID: 36033 Email Print
Question
How do I make the HelpOut tab disappear when all operators are offline?

Answer

To accomplish this please use the following script within the same pages where the HelpOut tab is:

 

<script type="text/javascript">
        
        function LHN_button_onLoad() {
       
            if (bLHNOnline == 0) {
                document.getElementById('lhn_help_btn').style.display = 'none';
            }
            else{
                document.getElementById('lhn_help_btn').style.display = 'block';
            }
        }
</script> 

 

 

 

There are a variety of other ways to customize the HelpOut Tab:
http://help.livehelpnow.net/article/1/2205/installation-as-a-tab-slideout


Related articles

Article Details
Views: 18390 Created on: Jul 10, 2013
Date updated: Sep 13, 2014
Tagged: javascript


Poor Outstanding