JBoss.orgCommunity Documentation
To install an advanced version of the widget, you need to insert a code snippet in your page. This includes some HTMLs plus some JavaScript. The necessary CSS will be added dynamically.
Next, insert the following code at the position you want the button to be displayed:
<div class="exoSpacesContainer"><a href="javascript:void(0);" id="exoSpacesLink" class="exoSpacesLink" target="_blank">Space</a></div> <script src="/socialWidgetResources/javascript/space.js"></script> <script>spaces.createPopup("exoSpacesLink", "MyAppName - my social object", "my cool description");</script>
The important function here is:
spaces.createPopup(link, spaceName, description)
In which:
link is the ID or the HTMLElement where the pop-up will be placed. If you copy and paste the code snippet provided above, you do not need to change this value.
spaceName is the name of space. It is also used to identify the space. You should use the following format: "MyAppName - my social object".
description is a brief introduction about your space.