Re: Custom links for each department?

  •  01-12-2012, 6:12 AM

    Re: Custom links for each department?

    Hi mmartinx,
     
     
    1) open file “CuteSoft_Client\CuteChat\SupportClient.aspx”
    2) The select control below is the department dropdown list
     
    input_department
     
    3)     You can handle its items by javascript, like below. The code below will remove all departments except "Support".
     
    <script>
    var input_department=document.getElementById("input_department");
         for (var i = input_department.options.length - 1; i >= 0; i--)
        {
            //only show the Support department
            if(input_department.options[i].text!="Support")
            {
        //remove other departments except Support
                input_department.options.remove(i);
            }
        }
    </script>
     
     Regards,
     
    Ken 
     
      
View Complete Thread