3214 Posts in 848 Topics by 810 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 821 Views |
-
'first' and 'last' class in navigatiion list

2 March 2011 at 11:41pm
I am creating a navigation list but I want classes applied to the first and last items in the list ('first' and 'last' will do) as they will be styled slightly differently.
Is there an easy way to do that?
-
Re: 'first' and 'last' class in navigatiion list

3 March 2011 at 1:02am
These are all page controls...
$First
$Last
$FirstLast(for more info... http://doc.silverstripe.org/sapphire/en/reference/built-in-page-controls)
-
Re: 'first' and 'last' class in navigatiion list

3 March 2011 at 1:19am
Ahh.... missed those completely. Thanks!!
| 821 Views | ||
|
Page:
1
|
Go to Top |


