Click here to ask a question or provide feedback on this topic Bookmark this topic Print this topic    Previous Next

Breadcrumbs

Placing Bread Crumbs is a technique that offers your users an easy way to see where they are currently and how to navigate back up the hierarchy tree.

A breadcrumb may look like this:

Home >> Products >> IntraWeb Studio

With IWS placing bread crumbs is a snap, they are placed using a special built in variable {%BreadCrumb%}. IWS replaces the Bread Crumb variable by a folder chain that goes from the projects root to the current document.

If the current document is the "index" document of the "Downloads" folder then {%BreadCrumb%} will be replaced by:

Home >> Products >> IntraWeb Studio >> Downloads

Bread crumbs are best used in templates, so that every document shows it. 

You can define the following variables and css styles to control the layout of your breadcrumbs:

Variable name: Description:

{%IWS_BREADCRUMB_SEPARATOR%}

This defines the string that is shown between the crumbs. Default is "  ยป  " (without quotes).

{%IWS_BREADCRUMB_START%}

This defines the string that is shown in front of the breadcrumb. Default is an empty string.

{%IWS_BREADCRUMB_END%}

This defines the string that is shown at the end of the breadcrumb. Default is an empty string.
Style name: (from Version 3.0) Description:
a.IWSBreadcrumb

Define this in your style sheet to control the style of the links that are placed as breadcrumbs.

Example:
This will make all your Bread Crumb links underlined red

a.IWSBreadcrumb { color: #FF00; text-decoration: underline;}

 



Feedback? Bookmark this topic    Previous Next

We use the ABCpdf .NET PDF component for HTML to PDF conversion...