How-To/Creating a new Web Page

You need some HTML (and CSS) skills in this page.
Here are some ways to make your own page.

  1. The first way, customize your page using my script.
    When you open the sample file, you will see a <script> tag, starting <script type="text/javascript">.

    If you want to use it for your own(already made) page, copy the tag until the closing tag(</script>) into your page's <head> tag.

    You also have to change the "ELEMENT_ID" in the script.
    var ELEMENT_ID = "chatWindow"; <- This one.
    Change it to the "id" attribute of the tag you want to show the chat in it.(The tag will show the chat from server)

    And as you know HTML and CSS, you can change "CHAT_FORMAT" as your own.
    return '<span class="username">' + name + '</span>: <span class="message">' + message + '</span>';
    You can change the bold things as you want.
    Don't forget to set the CSS style for the class "username" and "message"(or as you've set)

  2. Or you can make a new line of code to process the data.
    For this, you have to know Javascript.

    There are some descriptions of code in the sample file.
    You can read it and write a new one. Maybe understanding it will be hard. :/
    (Working on)