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.

Replace chatbox with something else.

View previous topic View next topic Go down

In progress Replace chatbox with something else.

Post by Zuke on December 5th 2015, 8:03 pm

Hey there. I'd like to replace my Forumotion chatbox with a one from Drejk.com

Here is the code I need to use:

Code:
<iframe src='http://drejk.com/chat/?id=OceanChat' width='760' height='480' frameborder=0 id='drejkChatbox'></iframe>

Got anything that will do this? Thanks!

Zuke
Forumember

Male Posts : 375
Reputation : 20
Language : English
Location : United Kingdom

http://ocean.forums.fm

Back to top Go down

In progress Re: Replace chatbox with something else.

Post by Ace on December 5th 2015, 8:11 pm

Hi,

Host your iframe in a HTML page.

Create a widget and place this code in it (without a table):

Code:
<div style="overflow: visible; position: fixed; bottom: 30px; height: 350px; right: 0px; z-index:1000;"><iframe src="/chatbox" id="chatboxpop" scrolling="yes" style="height: 350px; float: right; overflow-x: visible; overflow-y: visible; display: none; width:700px" marginwidth="0" marginheight="0" frameborder="0"></iframe><div onclick="jQuery('#chatboxpop').animate({width:'toggle'},1200); jQuery('#chatboxopen,#chatboxclose').toggle();" style="margin-top: 10px; cursor :pointer; float:left"><img src="http://i34.servimg.com/u/f34/16/04/51/75/open10.png" id="chatboxopen" style="display: inline; "><img src="http://i34.servimg.com/u/f34/16/04/51/75/close10.png" id="chatboxclose" style="cursor: pointer; display: none; "></div></div>

Search for "/chatbox". Change it for the URL of your HTML page. Example: h1-, h5- etc. Also, remember to change the heights of the code above to fit your chatbox. Wink

Regards.

Ace
Forumember

Posts : 250
Reputation : 49
Language : Portuguese & English

http://ajuda.forumeiros.com/u39577

Back to top Go down

In progress Re: Replace chatbox with something else.

Post by SLGray on December 6th 2015, 5:11 am

If you do not want it in a widget, you can add it to a template.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 35667
Reputation : 2375
Language : English
Location : United States

http://fmthemes.forumotion.com/

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