Vine Type Content Management with Standards in Mind

20 Oct 2005

$_sections

variable
  • $_sections
applicable sections
  • html
description

Place this variable at the location in the body element where you want sections ul element to appear.

notes

This variable is most often used as a horizontal or vertical navigation bar for sections within a site. For small sites -- those that only use top-level sections and no subsections -- this variable alone provides access to all pages.

For websites with subsections, this variable is best used as a horizontal navigation bar for top-level sections, and used in conjunction with the $_navigation variable (in a sidebar) to provide subsection navigation. This is what you are experiencing on the Vine Type website right now.

  • The sections ul element will contain a class="section" attribute
  • The sections ul element will contain one or more li elements
  • All section li elements except one will contain a class="section" attribute
  • The section li element that is the top-level section of the current web page will contain a class="sectionactive" attribute
  • When only one section li element is present, it will contain a class="sectionactive" attribute
  • All section li elements (exception below) will contain an a (anchor) element with a src attribute pointing to that particular section and contain the name of the section
  • If the active web page is the actual top-level section itself then the li element will contain only the name of the section

download

Visit the Download Area to test drive the standard in standards compliance.

upgrade

Add professional features to your Vine Type site by purchasing a Vine Type Pro license.

feedback

Discuss Vine Type or pose questions at the official Vine Type Forum hosted by ASP Advice.

about us

Learn more about this site and the features it is demonstrating.

© 2001-2017 vine branches — website powered by vine type