• In Chat
  • About
  • Contact
  • Browse

    Latest Coding

    Latest Daily

    Latest Health

    Featured Story

Coding 2018

| Begin | File Bank |  Register | Reply | Search | Statistics | Manual |
Site Coding Coding / Site Coding /  
 

Code to display who is in Blab Chat

 
Author Admin
Admin


#1 | Posted: 28 Sep 2018 07:25 | Edited by: Admin 
Blab has code built in for this but I thought to create my own for more versatility site design wise. I eventually settled for the code below which I displayed in an iframe ...

Chat Users Code
(click to enlarge in a new window)

Direct link to code here.
New Window link to code here.

As you can see the page refreshes every 15 seconds. By using an iframe the an auto-refreshing display of the chat users can be displayed on any page. I have used the above in a different file to alter the colour of the text to display it in 2 locations to suit the site design. Iframe code ...

iframe src="file-location-here" width="150px" height="15px" scrolling="no" style="border: 0px;"

You can see this working in 2 places - the very top of the site and on the chat page itself.
Website Designer

Your Reply Click this icon to move up to the quoted message


 ?
Only registered users are allowed to post here. Please, enter your username/password details upon posting a message, or register first.

 

 
Coding Powered by Forum Software miniBB ®
Online now: Guests - 1
Members - 0
Max. ever online: 4 [14 Oct 2018 12:43]
Guests - 2 / Members - 2
No Of Posts

  • Latest Daily Post ...

  • Latest Health Post ...

CONTACT

Phone: +01 0775 8107 427

sport4u2018@gmail.com

WEBMASTER

email icon Mark Jones

Latest Story

RANDOM CODING

  • Copyright © 2018 MKJ Brainwaving
↑ TOP