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.

Javascript chat help

View previous topic View next topic Go down

In progress Javascript chat help

Post by e369258147 on April 30th 2014, 9:40 am


I want to enable a chat service called on my forum. I received the following javascript code from their site but it doesn't seem to work for me:
<div id="spot-im-root"></div><script>(function(e,t,n){function r(){var e=t.createElement("script");e.type="text/javascript";e.async=true;e.src=n;t.body.appendChild(e)}e.spotId="43412e12e32e16e31d73bc8085eb2b81";e.spotName="lobby";e.type="FLOATING";e.template="";e.position="BOTTOM_LEFT";e.size="LARGE";e.allowDesktop=true;e.allowMobile=true;e.containerId="spot-im-root";r()})(window.SPOTIM={},document,"")</script>

Can you please help me? Thanks!

New Member

Posts : 1
Reputation : 1
Language : Hebrew

Back to top Go down

In progress Re: Javascript chat help

Post by Pizza Boi on April 30th 2014, 9:53 am

Hi Very Happy

I believe that's not the complete script. Did they not provide a CSS code?

Pizza Boi

Pizza Boi

Male Posts : 2016
Reputation : 160
Language : French
Location : Pizza Hut!

Back to top Go down

In progress Re: Javascript chat help

Post by Ange Tuteur on April 30th 2014, 1:32 pm


You should be able to add this to the widgets.

Go to Administration Panel > Modules > Forum widgets

Choose the following for the settings and save :

Next scroll down and click 'create a widget'

Fill in the titles, and make sure to tick 'no' for 'use a table type', then paste your code into the textarea and save.

The final thing you need to do is drag and drop the widget into the right column and save Very good

Ange Tuteur

Male Posts : 13023
Reputation : 2690
Language : EN10, FR5
Location : Pennsylvania

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