Hi guys

Have simple output for breadcrumb, where the active page is styled
without a link, due to a 'current' style class.
This currently uses the following approach:
- if the page is not the current one
-- output the link and title
- otherwise
-- it is the current one so just outout the title (with no link).

I want to add an extra condition for the first link, to apply a
'first' class, to remove spacing.

e.g.

- if the page is the first one (i.e. 'Home'
-- output the link with the 'first' class
- else if the page is not the current one
-- output the link and title
- otherwise
-- output the title (with no link).


Can you use 'else if' at all? Or something similar

Thanks

Neil
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to