How to Display Customer Survey
Articles related to customization are written for a technical audience who have experience in web development. Knowledge of HTML, CSS, and JavaScript are required.
You can learn from this article how to display customer survey.
File to edit: LanguagesForChatOnlyMode.js
var ic_hic_demo_timer = null;
ic_hic_demo_timer = setInterval(ic_hic_demo_timer_checkobject, 100);
function ic_hic_demo_timer_checkobject()
{
if ((ICObject != null) && (ICObject.pMainContentArea != null))
{
clearInterval(ic_hic_demo_timer);
ICObject.SurveyButton = document.createElement("div");
ICObject.SurveyButton.className = "demoButton";
ICObject.SurveyButton.onclick = function () { ICObject.displayCustomerSurvey(); }
ICObject.SurveyButton.innerHTML = "Display<br />Customer<br />Survey";
ICObject.pMainContentArea.appendChild(ICObject.SurveyButton);
}
}
File to edit: InstantChat.css
.demoButton
{
position: absolute;
left: 94px;
top: 32px;
width: 50px;
height: 43px;
text-align: center;
cursor: pointer;
background-color: red;
z-index: 2000;
}
Article last updated: 27 September, 2022
You are viewing the latest version of this article.