Adding a sidebar to a template
Website content is not always suited to being broken up across a number of pages. A table of contents, while being potentially quite long, may be more usable when displayed on a single page. A sidebar can improve the user experience by providing links to allow the user to rapidly navigate around the lengthy content.
In this recipe, we will create a Visualforce template that provides header and footer content to two other Visualforce pages: A TableOfContents page (containing information about all chapters) and a Chapter1 page (containing detailed information about the first chapter). Each page has a sidebar to assist with navigation through the page content. We will then make these pages publicly available via an unauthenticated ...
Get Visualforce Development Cookbook - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.