Expandable and Tabbed Content

There are two main ways of shortening a very long page:

Firstly, you can make the content Expandable, as seen on our Entrance Requirements pages. This is useful when you have long lists of items on a page, but the page visitor is only likely to be interested in the one item that applies to their circumstances.

expandable-content-fw

Secondly, you can make the content Tabbed, which is also used in the course pages. Tabbed content is useful when you have lots of pages with similar categories (all courses have Modules, Careers, Finance information, for example).

tabbed-content-fw

Both methods are implemented in exactly the same way.

Each Tab or Expandable needs to be its own piece of content within the same section. You’ll have to go to Add Content -> All Purpose Content for each one. Here’s how the content looks for the Tabbed page in the Sample Content site:

In this example, the first piece of content has no special requirements, but the bottom three are tabbed. They become tabbed simply by giving them the class ‘tabbed‘ all in lower case – here’s a screenshot of the second tab from the Modify Content screen:

The class field is at the bottom – remember to use only lower case. Also note that this piece of content has some embedded video from Vimeo – this is documented in another post.

The Content List for the expandable section looks more or less identical:

The only significant difference is that the class field contains the word ‘expandable’ in lowercase:

Remember to Save and Approve, and you’re done. The two types are fairly interchangeable. If you want to switch between one or the other, just change the class field, or to make it back into regular content, remove it entirely.

 

 

 

Leave a Reply