Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

adding .last to last navigation item


Reply


2 Posts   794 Views

Avatar
Musicaldustbin

Community Member, 13 Posts

8 March 2011 at 10:39pm

Hi i was wondering if there was a way to add a class to the last navigation item i am currently appending the nav with jquery however don't like this way as it doesn't load until after the page and causes the div to jump around is there any other way to do this using the cms tags ?

Cheers
Nick

Avatar
swaiba

Forum Moderator, 1805 Posts

8 March 2011 at 10:48pm

Something like...
http://www.silverstripe.org/template-questions/show/16026