Splash Page

(BlaB! AX v21.03+)

A splash page is a web page with a chat widget (who is online, statistics etc) and links to login/register pages. It can also include links to your Facebook page, YouTube channel, a GDPR notice, any other helpful information, links to other pages such as chat etiquette, privacy policy, about us, contact us etc. The splash page is optional and only appears when users navigate to the chat folder or the root of your website (if BlaB! AX is installed in the root folder). If a single splash page is not enough for you have a look at BlaB! Pages.

You can create and test a splash page locally using your favorite web editor and a browser. Then simply copy and paste the HTML code in AdminCP » Additions » Splash Page.

<div id="chat-enter-div" style="display:none">
    <a href="index.php?nosplash=1">Enter chat</a>
</div>
<div id="chat-login-div" style="display:none">
    <a href="account.php?q=login">Login</a>
    <a href="account.php?q=register">Register</a>
</div>
<script>
isloggedin='%ISLOGGEDIN%';
if(isloggedin=='1'){document.getElementById('chat-enter-div').style.display='block';}
               else{document.getElementById('chat-login-div').style.display='block';}
</script>

We provide a few built-in splash page templates that can be selected from the drop-down menu in AdminCP » Additions » Splash Page. Our splash templates consist of an HTML file, a font file and a background image. You can safely replace the title of the page add or alter any text in the HTML code. Test on a small screen device - a low-end smartphone would be best. If your new title does not fit the width of the screen adjust the size of the font which is set in vw - 1vw == 1% of the width of the screen.


Page updated: 2024-07-23
 
Powered by BlaB! Pages