Skip to Main Content

Style Guide

This guide provides an internal template for keeping your LibGuides consistent

How to

Widgets are reusable embeded videos, code snippets or other media that you can put into your guides.

Important: Always name your widgets so you can find them again more easily. Give them a prefix like VIDEO or CODE to help you narrow down your search.

The following are widgets you may want to consider using.

Search box

This widget lets you search a particular library for books.

The code for the Widget is as follows. To change the library edit the input named lm and change it to your library search code

<h2>Search for a book </h2>
<form method="get" id="searchForm" action="https://prin.ent.sirsidynix.net/client/embedded.search/dlc" >
<label for="q">Search the library </label>
<input id="q" name="q"  maxlength="256" name="q" value="" type="text" accesskey="s" alt="search the library...">
<input value="Search" id="searchButton" class="button" title="Search" type="submit" />
<input type="hidden" name="ln" value="en_US" />
<input type="hidden" name="lm" value="KRSL" />
</form>

List of schools and codes:

School Search Code
College Heights Secondary CHSL
DP Todd Secondary DPTSL
Duchess Park Secondary DPSL
Mackenzie Secondary MSL
McBride Secondary MBSL
Prince George Secondary PGSL
Shas Ti Kelly Road KRSL
Valemount Secondary VSL

 

Embed a PDF

This widget lets you embed a PDF document into a page. This lets you replace the document with a newer version and the page will update automatically.

Code is as follows. Replace the source (src) for the iframe with the document you want to link to. Adjust width vs the box and total height of the frame.

<iframe src="https://sd57.libguides.com/ld.php?content_id=36488382" style="width: 90%; height: 700px"></iframe>