Hello everybody!
Introduction:
First I'll explain the reason of my code that customize the chat be formulated as follows:
1- These functions belong to https://illiweb.com/.../frm/lang/XX.js language file and are automatically called to insert the chat in the forum;
2- They are called even when we click on the links "Archives" and then on "Back to the Chat";
3- Thus, it is clear and evident that the personalization codes will always run because they will be within the native function!
About the other codes::
I will comment on the codes relating to this link: https://help.forumotion.com/t139284-codes-to-personalize-your-chatbox?highlight=chatbox+codes
Question: You already tried to add some code and click on "Archives" and then on "Back to the Chat" and verify that the code is still working?
-> Well, with me only work when I update the browser page...
Anyone else confirm this?
Thanks everyone for the feedback,
JS
Introduction:
First I'll explain the reason of my code that customize the chat be formulated as follows:
- Code:
function insertChatBox(chatbox_id, chatbox_url) {
   return insertChatBoxNew(chatbox_id, chatbox_url);
}
function insertChatBoxNew(chatbox_id, chatbox_url) {
   document.getElementById(chatbox_id).innerHTML = '<iframe src="/chatbox/index.forum?archives=1" id="frame_chatbox" scrolling="no" width="100%" height="100%" marginwidth="0" marginheight="0" frameborder="0"></iframe>';
  Â
   frames["frame_chatbox"].onload = function() {
      // Your code here!
   };
}
1- These functions belong to https://illiweb.com/.../frm/lang/XX.js language file and are automatically called to insert the chat in the forum;
2- They are called even when we click on the links "Archives" and then on "Back to the Chat";
3- Thus, it is clear and evident that the personalization codes will always run because they will be within the native function!
About the other codes::
I will comment on the codes relating to this link: https://help.forumotion.com/t139284-codes-to-personalize-your-chatbox?highlight=chatbox+codes
Question: You already tried to add some code and click on "Archives" and then on "Back to the Chat" and verify that the code is still working?
-> Well, with me only work when I update the browser page...
Anyone else confirm this?
Thanks everyone for the feedback,
JS