SPA stands for Single-Page Application - a web application or website that interacts with the user by dynamically rewriting the current web page with new data from the web server, instead of the default method of a web browser loading entire new pages. An example of SPA application is our BlaB! Pages CMS with any NR theme and the popular forum software Flarum.
SPA Companion adds to any SPA website a few elements - a chat box with load, minimize, maximize and close buttons + PM notification. The user can browse the main website in the same tab without leaving the chat.
How to setup SPA Companion
Download SPA Companion Pack and unzip its content in the the root folder of your SPA app or website.
Using a text editor open blabloader.js and set at the beginning of the file the URL of your chat: //URL-TO-CHAT/index.php
In the HTML
<head>section of your SPA app or website add:
<link rel="stylesheet" href="//URL-TO/blabloader.css">
Background colors of the chat buttons can be set in blabloader.css, additional settings at the beginning of blabloader.js.