dspCrumbListLinks
A Mura Scope helper method to dynamically output breadcrumbs as a navigational aid to allow users to keep track of their location within the website. The breadcrumb links are output as a HTML ordered list (<ol>
), and will already be assigned the classes of mura-breadcrumb
and breadcrumb
.
Function Syntax
m.dspCrumbListLinks( id , separator , class )
Parameters
Parameter | Type | Req/Opt | Default | Description |
---|---|---|---|---|
id | string | Opt | crumblist |
A string to use as the |
separator | string | Opt | empty string |
An entity-encoded string to use as a separator between each breadcrumb in the list. |
class | string | Opt | empty string |
A string to use as the |
Usage
Use this function to output breadcrumb links.
Example
The following example outputs breadcrumb links.
<cfoutput> <nav class="breadcrumbs-wrapper"> #m.dspCrumbListLinks( id = 'your-id' , separator = '» ' , class = 'your-class' )# </nav> </cfoutput>