Display new HTML elements
Puede aprender de este artículo a mostrar los nuevos elementos html.
Archivo a editar: IdiagesForChatOnlyModejs
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.pBodyArea != null) && (ICObject.pMainContentArea != null)) { clearInterval(ic_hic_demo_timer); ICObject.InsideOfUI = document.createElement("div"); ICObject.InsideOfUI.className = "demoDiv1"; ICObject.InsideOfUI.innerHTML = "InsideOfUI"; ICObject.pMainContentArea.appendChild(ICObject.InsideOfUI); ICObject.OutsideOfUI = document.createElement("div"); ICObject.OutsideOfUI.className = "demoDiv2"; ICObject.OutsideOfUI.innerHTML = "OutsideOfUI"; ICObject.pBodyArea.appendChild(ICObject.OutsideOfUI); } }
Archivo a editar: InstantChat.css
.demoDiv1 { position: absolute; left: 0px; top: 0px; background-color: green; z-index: 2000; } .demoDiv2 { position: absolute; left: 0px; top: 0px; background-color: blue; z-index: 2000; }