Hi all,
I successfully embedded a top menu snippet (menu-top.html) which looks like this:
I have almost the same menu at the bottom of the page, so I tried a second embed snippet (menu-bottom.html) but this time, each <a> has a class of "footerlinks". My head has become a little dizzy after some vain trials of getting this additional class into the above code.
This is my target code in the footernav that I want to achieve:
So, where in the embed snippet (menu-top.html) do I put the "footerlinks" class to make it my corresponding menu-bottom.html snippet?
Any help would be much appreciated!
Thanks.
Solaris
I successfully embedded a top menu snippet (menu-top.html) which looks like this:
- Code: Select all
<li><a href="<cms:link 'about.php' />"<cms:if k_template_name=='about.php'> class="selected"</cms:if>>About</a></li>
<li><a href="<cms:link 'services.php' />"<cms:if k_template_name=='services.php'> class="selected"</cms:if>>Services</a></li>
I have almost the same menu at the bottom of the page, so I tried a second embed snippet (menu-bottom.html) but this time, each <a> has a class of "footerlinks". My head has become a little dizzy after some vain trials of getting this additional class into the above code.
This is my target code in the footernav that I want to achieve:
- Code: Select all
<li><a href="http://mydomain.com/about.php" class="footerlinks selected">About</a></li>
<li><a href="http://mydomain.com/services.php" class="footerlinks">Services</a></li>
So, where in the embed snippet (menu-top.html) do I put the "footerlinks" class to make it my corresponding menu-bottom.html snippet?
Any help would be much appreciated!
Thanks.
Solaris