If you are a webmaster, you might be thinking of how you can make your website more interactive, or even allowing your visitors to collaborate with one another. Most of the time, implementing a collaborative function on your site can be a labour and time intensive process. However, with TogetherJS, you can now easily add a real-time collaboration feature to your site with minimal technical/coding skill.

TogetherJS is a free, open source collaboration tool created by Mozilla (the team behind the Firefox browser). The whole collaboration tool is wrapped in a Javascript library and all you need to do is to add the Javascript code to your site to enable real-time collaboration feature for your site.

Installation

To get started, all you have to do is to add the following line of code to your website theme/template, preferably at the end of the page, before the

tag:

<script src="https://togetherjs.com/togetherjs-min.js"></script>

To allow users to start a collaboration session, simply add a “Start Collaboration” button to your site. Paste the code to the position where you want the button to show up.

<button onclick="TogetherJS(this); return false;">Start Collaboration</button>

Alternatively, you can add a CSS class to the button so you can style it to suit your theme.

<button class="collaboration-btn" onclick="TogetherJS(this); return false;">Start Collaboration</button>

That’s all you need to do. Let’s look at how it performs.

Usage

When someone clicks on the “Start Collaboration” button, a popup window will show up.

togetherjs-popup

Clicking the right arrow in the popup will reveal a field for the user to enter his/her name and optionally, upload his/her profile photo.

togetherjs-user-profile

The next screen to the right shows the link that the user can share with his/her friends to get them to join in the session.

togetherjs-share-link

Lastly, click the “I’m ready” button to start the session.

togetherjs-sidebar

When invited guests click the link to go to your site, they will see a “Join Session” popup box. Once they join the session and setup their profile, their avatar will show up in the sidebar.

togetherjs-join-session

Things that you can do include:

Chat

togetherjs-chat

Audio Chat

The audio chat is an experimental feature and is subjected to the support of the browser.

togetherjs-audio-chat

Synchronized mouse movement and real-time changes

Below is a screencast where I place two browsers side by side and see how the mouse movement of one user show up in another user’s screen. I also typed in the comment field and the text show up immediately in the other browser.

togetherjs-screencast

Conclusion

The features shown above are only a small part of what you can do with TogetherJS. You can check out its documentation for more ways to extend its functionality. There are ton of things that you can do on your site with TogetherJS and with such a simple implementation, you are only restricted by your own creativity.

How to Add Links to Your WordPress Widget Titles

Do you use numerous widgets on your WordPress blog? Have you ever wished that you could add WordPress Widget Titles? If so, you’re in luck thanks to a WordPress plugin called Widget Title Links.

The Complete Guide to Avoid Scams on Craigslist

Craigslist is a popular place for people to buy and sell stuff. It is also a good hangout for fraudster to scam the user. This guide will teach you how to avoid scams on Craigslist.

6 Alternative Uses of WordPress, Other Than Blogging

You can be sure of one thing, Wordpress: it’s not just for blogs anymore. Here are 6 alternative uses of Wordpress that aren’t blogging.

Is the Era of Privacy Over?

The governments have been using various measures to get hold of our information. So, have we left the era of privacy behind us?

How to Set Up and Use Mozilla’s Firefox Accounts

Firefox Sync is getting better in the new nightly version of Firefox. If you have not setup your Firefox account, here is how you can do so.

Hacked: 11 Signs Your Online Security Is Being Compromised

When you start to see weird behavior on your PC, it could be signs that your online security has been compromised. Here are 11 signs you should take note of

Internet Regulation: Is it Going to Happen Soon? What Can You Do About It?

If one country could ban a website from its borders, what prevents other countries from doing the same? Can Internet regulation ever be good?

Rid Your Site of Any Profanity Content with WebPurify

To get rid of profanity and offensive content on your site, you can either moderate every single post manually, or automate it with an external tool. WebPurity is one useful tool built for this purpose.

How To Access Dropbox from Google Chrome

EasyDrop is an extension for Google Chrome that lets you access your Dropbox files from Google Chrome, without leaving your current tab.

How to Enable Private Tabs in Firefox

Private browsing in Firefox requires you to open a new window. The Private Tab addon allows you to open private tabs in Firefox instead of a separate window, making it easier for you to keep track of multiple sites at a time.

How to Enable the Firefox Quick Find Feature in Google Chrome

Firefox comes with a Quick Find feature that allows you to search for text when you start typing. Here is how you can get the same feature in Google Chrome.

A Beginner’s Guide to Not Being Compromised on the Internet

You may understand what social engineering is, but are not sure how to properly defence against it. Here are a couple of advices for you.