dist/bower_components/log4js/log4js-site/xdocs/skins/common/scripts/breadcrumbs.js
function getCrumbTrailXHTML( crumbs )
{
	var xhtml = '<span class="' + CSS_CLASS_TRAIL  + '">';
	xhtml += DISPLAY_PREPREND;

	for( var i = 0; i < crumbs.length; i++ )
	{
		xhtml += '<a href="' + crumbs[i][1] + '" class="' + CSS_CLASS_CRUMB + '">';
		xhtml += unescape( crumbs[i][0] ) + '</a>';
		if( i != (crumbs.length-1) )
		{
			xhtml += '<span class="' + CSS_CLASS_SEPARATOR + '">' + DISPLAY_SEPARATOR + '</span>';
		}
	}

	xhtml += DISPLAY_POSTPREND;
	xhtml += '</span>';

	return xhtml;
}
function getCrumbTrailXHTML( crumbs )
{
	var xhtml = '<span class="' + CSS_CLASS_TRAIL  + '">';
	xhtml += DISPLAY_PREPREND;

	for( var i = 0; i < crumbs.length; i++ )
	{
		xhtml += '<a href="' + crumbs[i][1] + '" class="' + CSS_CLASS_CRUMB + '">';
		xhtml += unescape( crumbs[i][0] ) + '</a>';
		if( i != (crumbs.length-1) )
		{
			xhtml += '<span class="' + CSS_CLASS_SEPARATOR + '">' + DISPLAY_SEPARATOR + '</span>';
		}
	}

	xhtml += DISPLAY_POSTPREND;
	xhtml += '</span>';

	return xhtml;
}
function getCrumbTrailXHTML ( crumbs ) { var xhtml = '<span class="' + CSS_CLASS_TRAIL + '">' ; xhtml += DISPLAY_PREPREND ; for ( var i = 0 ; i < crumbs . length ; i ++ ) { xhtml += '<a href="' + crumbs [ i ] [ 1 ] + '" class="' + CSS_CLASS_CRUMB + '">' ; xhtml += unescape ( crumbs [ i ] [ 0 ] ) + '</a>' ; if ( i != ( crumbs . length - 1 ) ) { xhtml += '<span class="' + CSS_CLASS_SEPARATOR + '">' + DISPLAY_SEPARATOR + '</span>' ; } } xhtml += DISPLAY_POSTPREND ; xhtml += '</span>' ; return xhtml ; }
Return a string containing an XHTML breadcrumb trail based on the
two-dimensional array passed in.
Return a string containing an XHTML breadcrumb trail based on the two - dimensional array passed in .