if(@node.Url == @Model.Url) { <li> <a href="@node.Url"><span style="text-decoration:underline">@node.Name</span></a> </li> } else { <li> <a href="@node.Url">@node.Name</a> </li> }
Mark Downie - Umbraco 7 and Umbraco 8 (and umbraco 4) Developer - Code Snippets - Glasgow - Scotland
I am Mark Downie a web developer who uses the Umbraco CMS. You can see examples of my Umbraco web sites at: http://www.markdevelopment.co.uk If you have any questions, please contact me. Thanks