12 August 2008 at 8:15am
I'm new to SS and working on converting an existing site for use with the CMS. The site design involves a graphical menu bar across the top which uses separate images for each menu item. For simplicity's sake I'm inclined to leave it this way (at least for now) and just change the links to point to the relevant SS top-level pages. However, I need to be able to figure out which menu item is the current page and display a different image in the menu bar. Currently this is done by simply having a different HTML file for each page and hard-coding the images, but obviously I don't want to do that.
The <% if LinkCurrent = current %> doesn't seem to work without the SS menu control structure, so is there some other way to do this?
The problem seems to be caused when I add <% if LinkOrSection = section %> but I can see nothing wrong with this syntax and I am getting no error messages. Am new to this so it might be something obvious. Would appreciate any suggestions