Isolate Chatbox to specific pages?

Go down

Isolate Chatbox to specific pages?

Post by MadroX on November 19th 2013, 6:12 pm

Hey guys, I was just wondering if their is anyway you can isolate the chatbox onto specific pages. 

For example, I activated the chatbox on my forum, and I also have portal homepage. I would like to have the chatbox only on my forums page, so I can leave more space on my portal page.

My forums address is:

My forum version is: Phpbb2

Any help with this would be greatly appreciated!

Posts : 39
Reputation : 0
Language : English

Back to top Go down

Re: Isolate Chatbox to specific pages?

Post by Ultron's Vision on November 19th 2013, 6:37 pm

Have you considered installing AvacWeb Chat or something similar?

If you just need to hide it on the portal page, add this JS and select "on all the pages".

window.onload = function(){
 if(this.location.pathname === "/") document.getElementById("chatbox").style.display = "none";
Ultron's Vision

Male Posts : 634
Reputation : 45
Language : English | German | HTML | JavaScript | PHP | C++ | Perl | Java
Location : Vienna, Austria

Back to top Go down

Back to top

Permissions in this forum:
You cannot reply to topics in this forum