The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Isolate Chatbox to specific pages?

View previous topic View next topic 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: http://www.aetron.4rumer.com

My forum version is: Phpbb2

Any help with this would be greatly appreciated!

MadroX
Forumember

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".

Code:
window.onload = function(){
 if(this.location.pathname === "/") document.getElementById("chatbox").style.display = "none";
};

Ultron's Vision
Forumember

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

http://duelacademy.net

Back to top Go down

View previous topic View next topic Back to top


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