In This Article

Creating a Content Box widget

The Content Box widget allows you to share a box from one of your guides. 

  1. Log into LibGuides and go to Tools > Widgets from the command bar.
  2. Then click on the Content Box tab.
  3. In the Box Selection section, select the guide that the box is in from the Guides dropdown.
  4. Then select the box to use in the widget from the Box dropdown.
    • Note: Boxes are organized by the pages they are on.
  5. In the Look & Feel section, choose your Output Format. The format options give you two basic options:
    • Simple: this embeds the widget content directly into the page, with the widgets styles and JavaScript code running right alongside the other content on the page -- this includes the jQuery and Bootstrap libraries, so be careful when trying to embed these on pages that already include these libraries (such as LibGuides and other Springshare products).
      • If you choose this option, you can select the Embed Type - if you're not sure which option to use, we recommend JavaScript. 
    • Framed: this displays the widget inside of an iframe element on the page. The widget's content, styles, and JavaScript will be contained within the iframe, rather than directly on the page itself. This is a good option to choose if the Simple output format creates issues on your page.
      • If you choose this option, you can set the Height and Width of the iframe element.
  6. Grab the code for the widget from the Embed Code box.
    1. Do you need to include the jQuery libraryIf you are embedding this content box in any Springy app (i.e. LibGuides, LibAnswers, LibCal), do not check this checkbox. Our pages already include jQuery and including it again will break the page. For all other pages, check with its admin about whether or not you need to include it. Including jQuery is only necessary if it's not already present on your host page. 

Creating a content box widget

Related Articles