product icon

How to Start Applet Download

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 start applet download.

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.DownloadButton = document.createElement("div");
    ICObject.DownloadButton.className = "demoButton";
    ICObject.DownloadButton.onclick = function () { ICObject.startAppletDownload(); }
    ICObject.DownloadButton.innerHTML = "Start<br />Applet<br />Download";
    ICObject.pMainContentArea.appendChild(ICObject.DownloadButton);
  }
}

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