Available Widgets
We offer an ever expanding set of widgets that can be added to any page that you've included LiveBar on by simply including a line of JavaScript. Widgets can be styled by CSS, and labels of widgets can be changed via the JavaScript include.
Widgets
- Call-out
- Recent Posts
- Share this page
Off-site Widgets
- SoapBox Export
Call-out
LiveBar.widget("RESOURCE_TYPE", {css_classname: CLASS_NAME
, title: 'LABEL'})
-
RESOURCE_TYPE
The type of resource you'd like to display recent posts for: conversations, soapboxes, or shouts -
CLASS_NAME (optional)
CSS class name of the custom style you'd like to apply to the widget. Overwrites the default css. -
LABEL (optional)
Custom label you'd like to display in the widget. Overwrites the default label.
Example:
<script type="text/javascript">
LiveBar.widget("discussions", {css_classname: 'livebar_widget_discussion_list',
title: 'Conversation Overview:'})
</script>
Recent
LiveBar.widget("RESOURCE_TYPE", {widget_action: "recent",
query: "QUERY", title: 'LABEL'})
-
RESOURCE_TYPE
The type of resource you'd like to display recent posts for: conversations, soapboxes, or shouts -
QUERY
Set to the number of most recent posts you'd like displayed: limit=3 -
LABEL (optional)
Custom label you'd like to display in the widget. Overwrites the default label.
Example:
<script type="text/javascript">
LiveBar.widget("conversations", {widget_action: "recent", query: "limit=3",
title: '3 most recent conversations:'})
</script>
Share this Page
LiveBar.widget("recommendations", {title:
'LABEL'})
- LABEL (optional)
Custom label you'd like to display in the widget. Overwrites the default label.
Example:
<script type="text/javascript">
LiveBar.widget("recommendations", {title: 'share this page with a friend'})
</script>
Off-site Widgets
DETAILS COMING SOON