You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The layout of AJAX Chat is fully customizable by using CSS (Cascading Style Sheets).
AJAX Chat comes with a predefined set of styles. To add your own style, do the following:
Add a new CSS file (e.g. mystyle.css) by copying one of the existing styles from the CSS directory.
Edit your file (css/mystyle.css) and adjust the CSS settings to your liking.
Add the name of your style without file extension to the available styles in lib/config.php:
To further customize the layout you can adjust the template files in lib/template/.
Make sure you are creating valid XHTML, else you will produce errors in modern browsers.
This is due to the page content-type served as "application/xhtml+xml".
Using this content-type improves performance when manipulating the Document Object Model (DOM).
If for some reason you cannot create valid XHTML you can force a HTML content-type.
Just edit lib/config.php and set the following option: