Quick Nav:  Online Store   |   Login | Register
PrevPrev--NextNext
applying First-Child class to link in suckerfish template
Last Post 08 Dec 2009 10:08 AM by Lisa E. 0 Replies.
Please Register to participate.
Sort: Print topic: Printer Friendly
AuthorMessages
Lisa E
New Member
Posts:21


Send PM:Send Private Message

--
08 Dec 2009 10:08 AM
Can this be done? Basically what I want to do is this but its not working (I'm sure I'm formatting it improperly).

[NavMenu-Container[ <div id="{NavMenu.Id}"> <ul> ]]
[Level0-Item[ <li> ]]
[Level0-Anchor[ <a class="tab IIF({Page.IsFirstChild}='True',First-Child)" href="{Tab.Url}" title="{Tab.Title}">{Tab.Name}</a> ]]
[/Level0-Item[ </li> ]]
[/NavMenu-Container[ </ul></div> ]]

Also -- is there a way to add a class ONLY if its the firstchild and not include the tab class with it? When I view the page -- i tested as an li -- its <li tab First-Child>

Thanks in advance!

Lisa
Please Register to participate.

Active Forums 4.1
     
      
Powered by: Snapsis Software