Converting to Canvas

Some interesting items have come up while I’ve been converting my courses from D2L to Canvas. Two interesting things I’ve come up with: Pills and Cogs.

Scripting seems to be pretty tightly limited, probably with good reason. I was looking for a way to provide a drop down menu of sorts, or a way to group options for links together, like a segmented button. Going through the Canvas Style guide ( I found this nugget of beauty: The Pill. Swap in links, and bingo, just what I wanted. Easy code, too.

canvas pill

Find it at

The code for Cogs is a bit more involved, but it generates a drop down list, and it can drop down from an icon (more button-like) or from text (more menu-like).

canavs cog