Hi. I am very new to SS, and haven't been programming for well over a decade so I am not quite up to speed with all of the code and syntax in SS. I am trying to create a menu for the home page of my site which uses images as the links instead of text. You can see the page at: http://www.mummydoit.org
The images are meant to be positioned in the white blocks and look like polaroids.
The code I am using is:
<ul class="polaroid">
<% control Menu(1) %>
<li>
<a href="$Link" class="pic-{$POS}">$LinkPic</a>
</li>
<% end_control %>
</ul>
LinkPic is an image field on all top level pages in the site and I have made sure that an image is uploaded for each page. The code is working, but only for the last item in the menu. Can anyone tell me why and how to fix it?
Eventually, I would like for the Home page to not show up on this menu, but I haven't tackled that problem yet. I am assuming it will be some sort of if statement, but if you have any ideas about that as well, I would be grateful.
Thanks.